The UNIX and Linux Forums  

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



Thread: comm command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-04-2008
amitrajvarma amitrajvarma is offline
Registered User
 

Join Date: Oct 2007
Posts: 43
comm command

Hi

I have issue with "comm " command

file-1
----
l65059
l65407
l68607
l68810
l69143
l71310
l72918
l73146
l73273
l76411


file-2
-----
k55080
g43140
sg55591
j20766
j32013
k28117
k40986
k47893
k98497
l26497
l47365
l76411

when I execute

comm -23 file-2.txt file-1.txt,

It should showing l76411 , why is it happening, because it should show only list which is not present in file-1.

Please let me know

Thx

Arv
Reply With Quote
Remove advertisements
!!
Forum Sponsor