![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| comm command | amitrajvarma | Shell Programming and Scripting | 8 | 02-06-2008 05:20 AM |
| Can you limit the compare on "comm" command | eja | UNIX for Dummies Questions & Answers | 0 | 03-23-2007 12:48 PM |
| comm command in sorting IP | tads98 | UNIX for Advanced & Expert Users | 1 | 05-16-2006 07:41 AM |
| Comm, command help | cowpoke | UNIX for Dummies Questions & Answers | 2 | 10-25-2005 08:26 AM |
| comm ?! | tine | Shell Programming and Scripting | 8 | 12-08-2003 03:52 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
help in comm command
Hi all,
I need help in comm command , I am having 2 files . I have to display the common line in the two file only onnce and i have to also display the non common line as well. tmpcut1 -- First file cat tmpcut1 smstr_303000_O_432830_... f_c2_queue_sys30.sys30 RUNNING 10 1000 smstr_303000_O_432834_... QUE_WAIT 10 1000 smstr_303000_O_432836_... QUE_WAIT 10 1000 smstr_303000_O_432837_... QUE_WAIT 10 1000 smstr_303000_O_432839_505 f_c1_queue_sys30.sys30 RUNNING 10 1000 smstr_303000_O_432840_... QUE_WAIT 10 1000 smstr_404000_O_162388_... f_p1_queue_sys40.sys40 RUNNING 10 1000 tmpcut2 -- Second file cat tmpcut2 smstr_303000_O_432834_... f_c2_queue_sys30.sys30 RUNNING 10 1000 smstr_303000_O_432836_... QUE_WAIT 10 1000 smstr_303000_O_432837_... QUE_WAIT 10 1000 smstr_303000_O_432840_... f_c1_queue_sys30.sys30 RUNNING 10 1000 smstr_303000_O_432841_... QUE_WAIT 10 1000 smstr_303000_O_432844_... QUE_WAIT 10 1000 smstr_404000_O_162386_... f_c2_queue_sys40.sys40 RUNNING 10 1000 smstr_404000_O_162389_... f_c1_queue_sys40.sys40 RUNNING 10 1000 When i used comm -12 tmpcut1 tmpcut2 i get an empty file , please help Thanks in Advance, Arun |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|