Finding duplicate lines in a file
I know how to remove duplicate lines in bash... but how to I get a report showing only the duplicate lines in a file?
|
Quote:
cmd: uniq |
Thanks for that one.
Ya know... I ran uniq on a file like so... uniq -D -w 32 someMD5file.md5 and I know there were 13 identical md5sums... (of zero byte files) but it only printed 2 of them? d41d8cd98f00b204e9800998ecf8427e is the troublesome md5sum. Bug? |
A little further read led me to a smallprint gotcha...
http://www.linuxformat.co.uk/index.p...wtopic&p=63243 says: Quote:
gave me the complete list of duplicate md5sums |
All times are GMT -5. The time now is 12:53 AM. |