> Thanks Brian for a quick response. Infact I do sort the file prior to 
> processing 
> it. But I use the following:
>  
> sort -t"~" -k1,1 file1 -o file1

> Looks like I will have to settle for a normal sort rather than key based sort 
> for this to work.

Or you could propose a patch to comm to accept -k and -t, so that comm and
sort can agree on how the files were sorted.

> 
> IMPORTANT
> 1.    This email and any attachments are confidential.  Any unauthorised 

A word of advice - this is a publicly archived mailing list.  Your disclaimer
is therefore unenforceable, and it is a sign of bad netiquette to use an
employer's email account where such footers are appended against your
will when posting to a public list.  Consider using a free web-based email
account for such purposes.

-- 
Eric Blake


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to