The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
finding duplicate files by size and finding pattern matching and its count jerome Sukumar Shell Programming and Scripting 2 12-01-2006 12:20 AM
Cut rows obedkhan HP-UX 2 08-23-2006 06:36 AM
finding & replacing blank rows/spaces in a file Gerry405 SUN Solaris 2 07-21-2005 01:49 AM
Difference between two rows JimJim Shell Programming and Scripting 7 07-05-2005 04:52 AM
Concatenate 2 rows into 1 row indianadoug Shell Programming and Scripting 4 03-11-2005 07:05 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-06-2006
Registered User
 

Join Date: Mar 2006
Posts: 2
Finding different rows

I have two files. They are prety much the same, except a few lines. I would like to get the differences between the two file, but only those differences and nothing more.

"diff" and "sdiff" cannot seem to do it. "sdiff -s" gets close, but I still get "less than" or "greater than" signs in the result. I would only like to get the different rows, no more, no less.

Thank you!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-06-2006
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 2,994
try 'man comm'
Reply With Quote
  #3 (permalink)  
Old 03-06-2006
Registered User
 

Join Date: Mar 2006
Posts: 2
You are my hero! Thank you.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0