Re: Diff: obtain only the different lines of the newest file
Davide Brini <[email protected]> Thu, 12 Aug 2010 11:37:15 +0100
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 12 Aug 2010 05:20:47 Kimahri Ronso wrote: > This is my first post in this mailing list. I hope there is a solution to > my doubt. > > My question is about the diff command. > > 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. If I read the diff man correctly, that would be something like diff --changed-group-format='%<' --unchanged-group-format='' newfile oldfile -- D.