in reply to Re: Read file line by line and check equal lines
in thread Read file line by line and check equal lines

Actually, no.
If you look at the desired output provided by the OP it seems that he wants those lines that appear once, and once only.

uniq -d prints duplicated lines, so that will not help him (or her). What he wants is uniq -u

--Darren :)

Replies are listed 'Best First'.
Re^3: Read file line by line and check equal lines
by diotalevi (Canon) on Mar 06, 2007 at 16:03 UTC

    Ah, the sweet success of using a tool exactly backwards!

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊