Kimahri Ronso <kro...@gmail.com> wrote: > I have 2 files containing almost the same information with around 70.000 > records. > > What I would like to know is if there is a possibility to obtain only the > different lines from the second file without anything else. > > I just need to know the content of the changed lines in the newest file.
What about: diff file1 file2 | grep -e "^>" Or, maybe, if you don't like the preceeding "> ": diff file1 file2 | grep -e "^>" | colrm 1 2 regards Henrik -- The address in the header is only to prevent spam. My real address is: hc123(at)poolhem.se Examples of addresses which go to spammers: r...@localhost postmas...@localhost