Re: Bash printf builtin bug

2005-03-30 Thread Luke Kendall
On 30 Mar, Paul Jarc wrote: > Ok. coreutils' printf does handle the "--" case. But other strings > beginning with "-" are treated as format strings. I think that > conforms, but I agree that it's less useful. Solaris printf is the > only one I can find that agrees with coreutils; {Free,N

Re: Bash printf builtin bug

2005-03-29 Thread Luke Kendall
On 29 Mar, Chet Ramey wrote: > That's what the `--' first argument is for: don't treat any remaining > arguments as possible options. In that sense, I suppose it *is* consistent with all the other commands. It's just a trap that the user must be aware of (as they must in general), when const