file comparision in Unix scripting [message #97986] |
Wed, 27 August 2003 08:08 |
Nitin
Messages: 35 Registered: July 1999
|
Member |
|
|
Hi Guys,
Can u suggest me how to compare two files in unix scripting?
I have already tried diff, cmp command.But it seems not good. It is giving comparision but extra addational information. I want exact difference between files.
Anybody has sample script?
It's urgent.
My problem:
I have one file with 100 200 300 400 data.Second file has 100 200 300 400 500. I need to copmare this two files. And result should be only 500.
Thank in advance.
Nitin
|
|
|
|