bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort -c --dont-poop-out-at-the-first-disorder


From: Ralf Wildenhues
Subject: Re: sort -c --dont-poop-out-at-the-first-disorder
Date: Fri, 17 Nov 2006 10:00:51 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Dan Jacobson <jidanni <at> jidanni.org> writes:
>
>   $ sort -c timez1
>   sort: timez1:418: disorder: 1162082133
> is great at finding the first one, but to find the other two one has
> to use ones brains. No fair.

Isn't that already a contradiction to POSIX?  SUSv3 states that there should
not be any output at all:

| -c  
|     Check that the single input file is ordered as specified by
|     the arguments and the collating sequence of the current locale.
|     No output shall be produced; only the exit code shall be affected.

Cheers,
Ralf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]