[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Diff: obtain only the different lines of the newest file
From: |
Stan Brown |
Subject: |
Re: Diff: obtain only the different lines of the newest file |
Date: |
Wed, 08 Dec 2010 15:04:03 -0000 |
User-agent: |
MicroPlanet-Gravity/2.9.15 |
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...