NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

uniq on open streams



I had a need to run uniq on an open stream.  It doesn't seem to print
the most recent line.

$ lua -e 'print("a");print("b");print("c"); repeat until false' |uniq
a
b

^ should print the c as well, no?



Home | Main Index | Thread Index | Old Index