[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash printf builtin bug
From: |
Luke Kendall |
Subject: |
Re: Bash printf builtin bug |
Date: |
Thu, 31 Mar 2005 10:03:22 +1000 (EST) |
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,Net,Open}BSD
> agree with bash.
BTW, does anyone see any merit in my suggestion to alter the man page to
use "printf -- format [args]" instead of "printf format [args]" in the
man entries?
Also, I wasn't clear whether you'd decided --version and --help options
should be removed from the GNU printf, or added to the bash builtin.
luke