bug#12847: comm wrong output

2012-11-09 Thread Andreas Schwab
gregrwm backuppc-us...@whitleymott.net writes:

 coreutils   8.13-3.2ubuntu2 (quantal)

 using the attached files:
 $  LC_ALL=C sort rqb.2012-11-07. /tmp/pC   #ensure inputs are sorted
 $  LC_ALL=C sort a0/tmp/qC
 $  LC_ALL=C comm -2 /tmp/[pq]C/tmp/-2
 $  LC_ALL=C comm -23 /tmp/[pq]C/tmp/-23

 the 2 comm commands produce identical output!
 oughtn't the latter command only show lines unique to FILE1?

Since the files have nothing in common, -3 has no effect.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
And now for something completely different.





bug#12847: comm wrong output

2012-11-09 Thread gregrwm

 Try with sort ... | expand  /tmp/...


aha.
i see iit were thrown by different style whitespace.
thank you.