bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

comm command bug while using with Tilda delimited files


From: Anand Ramamoorthy
Subject: comm command bug while using with Tilda delimited files
Date: Thu, 25 May 2006 16:36:47 +1000

This is the first time I'm having issues with "comm" command on an HP-UX Unix 
box (Model: 9000/800, Release: B11.11)
 
I'm trying to compare two files that are "~" delimited.
 
File 1
--------
1~10
5~30
55~40
6~20
 
 
File 2
--------
1~20
5~35
55~40
7~27
 
Now I'm trying to get the common records of the above files, I sould be getting 
55~40 which is there in both files. But I get none as output. But if I use "," 
as delimiter instead of "~", then it works. Dont know whether "~" is a special 
char for comm command.
 
 
Here is how I use comm command.
 
comm -12 file1 file2
 
 
Thanks in advance for any help you can provide me.
 
Regards,
Anand.
 
 
 

IMPORTANT
1.      This email and any attachments are confidential.  Any unauthorised 
dissemination or other use of these materials is prohibited.  If received in 
error, please contact us and delete all copies.  
2.      Before opening or using attachments, check them for viruses and 
defects.  Our liability is limited to resupplying any affected attachments. 
3.      Protecting your privacy is important to us.  Our privacy statement and 
further information is available at www.oakton.com.au.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]