freebsd-skq/usr.bin/uniq
Andrey A. Chernov d4c2dafa6c 1) Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary equal" check instead.

POSIX says: "The input file shall be a text file", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.

2) Speedup input processing a bit in complex cases like skipping fields,
chars or ignore case.

3) Enforce the implied LINE_MAX limit (from POSIX definition of "text file"
and POSIX uniq(1) description).
2010-03-06 19:21:57 +00:00
..
Makefile
uniq.1 The input line length limit mentioned on the manual page was removed by 2009-12-17 16:59:19 +00:00
uniq.c 1) Rewrite input processing to not exit with error on the first EILSEQ found 2010-03-06 19:21:57 +00:00