problem with /usr/bin/comm

"Sridhar Hannenhalli" <[email protected]> Mon, 19 Apr 2004 16:27:18 -0400
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <00b301c4264c$b5e88120$cd597ba5@sridhar>
Please look at the output of script below.  "3" is common between the 2
files but comm doesn't output that with -12 option.
A prompt reply will be greatly appreciated.
Thanks
-sridhar
 
 
> cat tmp1
1
3
> cat tmp2
2
3
> comm -12 tmp1 tmp2
> comm -13 tmp1 tmp2
2
3
> comm -23 tmp1 tmp2
1
3
> 
 
 
  _____  

Sridhar Hannenhalli
Asst. Professor 
Penn Center for Bioinformatics
Dept. of Genetics
University of Pennsylvania
(215) 746 8683