bug-coreutils
[Top][All Lists]
Advanced

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

bug#7305: sort command not working in version 5.5 as it did in 4.7


From: Pádraig Brady
Subject: bug#7305: sort command not working in version 5.5 as it did in 4.7
Date: Fri, 29 Oct 2010 23:47:22 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 29/10/10 22:04, Paul Eggert wrote:
> On 10/29/10 13:12, Michael Warnock wrote:
>> sort +8
> 
> The command "_POSIX2_VERSION=0 sort --debug +8" says:
> 
>   sort: obsolescent key `+8' used; consider `-k 9' instead
> 
> which is good advice.  Hmm, maybe we should change --debug
> so that it also outputs this advice when _POSIX2_VERSION
> is not set to a low value?

Yep, good call. That's easy to do ...
-              if (obsolete_usage)
+              if (obsolete_usage || debug)

I think we should as in the unlikely case one
is debugging with a file starting with +,
then one can/should protect it with --

cheers,
Pádraig.







reply via email to

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