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