The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: comparing two files
Kaustubh
Newbie
Rank: 1



UID 216
Digest Posts 0
Credits 0
Posts 32
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 15, 2007 07:42 AM  Profile | P.M. 
comparing two files



comparing two files




i have two files:

groceries.txt

abc 123 73837

shoppers.txt

abc 123 73837

how can i compare and print that the output in the files is the same.

thanks


Top
vino
Newbie
Rank: 1



UID 16
Digest Posts 0
Credits 0
Posts 74
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 15, 2007 07:42 AM  Profile | P.M. 
try:

code:
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:35 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.004933 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP