[Top][All Lists]
[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: |
Paul Eggert |
Subject: |
bug#7305: sort command not working in version 5.5 as it did in 4.7 |
Date: |
Fri, 29 Oct 2010 15:58:43 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 |
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.