|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Hello,
I want to compare two files. All records in file 2 that are not in file 1 should be output to file 3. For example: file 1 123 1234 123456 file 2 123 2345 23456 file 3 should have 2345 23456 I have looked at diff, bdiff, cmp, comm, diff3 without any luck! Thanks for your help Barbara |
| Sponsored Links | ||
|
|
|
|||
|
Thanks for the info, it works!
When I read "man" about comm, it had mentioned the output as being "text columns". This confused me, because I wanted the different records. Thanks again, Barbara |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Formatting the output from diff | ragavhere | Shell Programming and Scripting | 9 | 05-07-2008 05:40 AM |
| Diff output, unwanted characters | scanner248 | UNIX for Dummies Questions & Answers | 5 | 10-17-2007 05:23 PM |
| Is there a way to limit DIFF output | bobk544 | Shell Programming and Scripting | 2 | 06-08-2007 04:54 PM |
| parsing output from a diff command... | kam | Shell Programming and Scripting | 5 | 05-30-2007 12:26 AM |
| diff output | paulp | UNIX for Dummies Questions & Answers | 3 | 04-14-2005 03:27 AM |