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.