Subject: bug#12847: comm wrong output

From: Andreas Schwab <[email-masked]>
Date: Sat, 10 Nov 2012 00:13:59 +0100

gregrwm <[email-masked]> 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, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."