[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible Bug in comm ?
From: |
Andreas Schwab |
Subject: |
Re: Possible Bug in comm ? |
Date: |
Thu, 14 Sep 2006 11:08:27 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
"Joseph A. Wiencko, Jr." <address@hidden> writes:
> Hello,
>
> For a file called "a" with the following contents (two lines of one
> character each):
>
> 4
> _
>
>
> and a file called "b" with the following contents (two lines of one
> character each):
>
> 5
> _
Your files are not sorted.
$ printf "4\n-\n" | sort -c
sort: -:2: disorder: -
$ comm --help
Usage: comm [OPTION]... FILE1 FILE2
Compare sorted files FILE1 and FILE2 line by line.
^^^^^^
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."