ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Compare text files and keep only the DIFFERENT lines?

<< < (3/3)

David.P:
Thanks everyone for the great help and suggestions!

Cheers David.P

housetier:
oh wow, I hadn't even heard about comm(1) before.

It reminds me of tac(1) which does the same as cat(1): it prints the contents of a file line by line, but in reverse order.

liuxin4335:
You can try Compare++. In the file comparison window, Select File > Report and set "Max numbers of context lines for differences" to 0, you can extract only different lines.
Here is a demo

I am sales representative of Compare++, any question, you can ask me. Thanks a lot.

David.P:
Thanks, looks good!  8) :Thmbsup:

Navigation

[0] Message Index

[*] Previous page

Go to full version