Operating System - HP-UX
1824359 Members
3310 Online
109669 Solutions
New Discussion юеВ

Options with 'diff' command

 
Umesh S Sharoff
New Member

Options with 'diff' command

Hello,
Is there an option in 'diff' command to find only the appended lines or only the changed/modified lines.

If there is any other utility other than 'diff' or 'cmp' which can do the above. Please let me know.

Regards,
Umesh
3 REPLIES 3
Bharat Katkar
Honored Contributor

Re: Options with 'diff' command

This is what the diff does...!
You need to know a lot to actually know how little you know
Franky_1
Respected Contributor

Re: Options with 'diff' command

Hi,

diff shows different lines (that is appended/changed and modified lines)

Another one would be "bdiff" for big files

Regards

Franky
Don't worry be happy
Umesh S Sharoff
New Member

Re: Options with 'diff' command

I know diff gives both appended and modified lines. I was looking for an option which gives me only appended lines and another option which would just give me only modified lines.

Thanks for all your answers.