I have a tool that generates tests and predicts output. The idea is that if I have a failure, I can compare the prediction with the actual output and see where they diverge. The problem is that the actual output contains several lines twice, which confuses diff . I want to remove duplicates so that I can easily compare them. Basically, something like sort -u , but without sorting.
Is there any unix command line tool that can do this?
command-line unix duplicates
Nathan Fellman Apr 14 '09 at 7:51 2009-04-14 07:51
source share