uniq(1) doesn't recognize '-' as stdin.

Issue #108 resolved
Takehiko NOZAKI repo owner created an issue

following is expected:

$ uniq - foo.txt
A
A
B
C
^D
$ cat foo.txt
A
B
C

but current uniq(1) implementation is:

$ uniq - foo.txt
uniq: -: No such file or directory

Comments (1)

  1. Takehiko NOZAKI reporter

    import new 2-claus BSDL uniq(1) implementation, for following PR: BUGFIX: Issue #108 - uniq(1) doesn't recognize '-' as stdin. BUGFIX: Issue #109 - uniq(1) use isspace(3b) instead of isblank(3) to parse field separator. BUGFIX: Issue #110 - uniq(1) doesn't trap file write error. ENHANCEMENT: Issue #106 - implement GNU uniq(1) extension.

    → <<cset 4d704feba757>>

  2. Log in to comment