Re: Diff: obtain only the different lines of the newest file
Stan Brown <[email protected]> Fri, 13 Aug 2010 07:11:24 -0400
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | Oak Road Systems |
| Message-ID | <[email protected]> |
On Thu, 12 Aug 2010 13:20:47 +0900, 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.
It's not gnu, but my shareware CMP will do this, with the /2/J2*
options. (/2 arranges so that the newer file is file number 2, aand
/J2* shows the lines that are in file 2 but not file 1.)
http://oakroadsystems.com/sharware/cmp.htm
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...