Jul 5, 2006 #1 IMAUser Technical User May 28, 2003 121 CH Hi, Is there a way to write a script which reads line by line fromtwo different files, compares the two inputs and reports if there are different. Thanks.
Hi, Is there a way to write a script which reads line by line fromtwo different files, compares the two inputs and reports if there are different. Thanks.
Jul 5, 2006 #2 vgersh99 Programmer Jul 27, 2000 2,146 US 'man comm' vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+ Upvote 0 Downvote
'man comm' vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+
Jul 5, 2006 #3 mrn MIS Apr 27, 2001 3,993 GB Why not just use diff or cmp Mike Unix *is* user friendly. It's just selective about who its friends are. Upvote 0 Downvote
Why not just use diff or cmp Mike Unix *is* user friendly. It's just selective about who its friends are.
Jul 5, 2006 #4 cspilman MIS Nov 17, 2000 307 US You can also use sdiff. From the man pages: sdiff Command Purpose Compares two files and displays the differences in a side-by-side format. Regards, Chuck Upvote 0 Downvote
You can also use sdiff. From the man pages: sdiff Command Purpose Compares two files and displays the differences in a side-by-side format. Regards, Chuck
Jul 5, 2006 #5 cspilman MIS Nov 17, 2000 307 US Sorry, forgot to mention that's the man pages for AIX 5.3. Check to see if you have sdiff command on your OS. Regards, Chuck Upvote 0 Downvote
Sorry, forgot to mention that's the man pages for AIX 5.3. Check to see if you have sdiff command on your OS. Regards, Chuck