Comparing files.

Ben Duncan bend at linux4ms.net
Fri Mar 26 08:31:32 PDT 2010


I need to write a script compare 2 files (Text based)
an report back that they are the same or they are different.

diff with -s says they are identical, when they are , but shows
all the different lines when not.

All I need is to show identical or differnet.

Any ideas or other commands ?

Thanks



-- 
Ben Duncan - Business Network Solutions, Inc. 336 Elton Road  Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
        - Hanlon's Razor



More information about the Linux-users mailing list