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: Sat, 30 Oct 2010 11:47:30 +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 23:58, Paul Eggert wrote:
> On 10/29/10 15:47, Pádraig Brady wrote:
>> I think we should as in the unlikely case one
>> is debugging with a file starting with +,
>> then one can/should protect it with --
> 
> Yes, definitely.  More generally, how about if
> --debug warns whenever any file name
> begins with "+" (unless the file name is
> protected with --)?  This is because they changed
> POSIX in the 2008 edition to say that
> "sort" is allowed to use "+" to delimit
> options.  For example, "sort --debug +foo"
> should generate a warning, even
> if the file "+foo" exists, because "sort +foo"
> is not portable to other POSIX-2008 "sort"s.
> But "sort --debug -- +foo" should be OK
> if "+foo" exists.

Definitely a far out edge case,
but simple to do so we should.

cheers,
Pádraig.





reply via email to

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