[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash printf builtin bug

From: Paul Jarc
Subject: Re: Bash printf builtin bug
Date: Wed, 30 Mar 2005 14:30:49 -0500
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

Chet Ramey <address@hidden> wrote:
> The SUSv3 has `none' in the OPTIONS section of the printf description.
> The description of that value in the `Utility Description Defaults'
> section of the standard requires that commands which accept operands
> but not options to recognize `--' and handle it appropriately.

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.


reply via email to

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