Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: printf and POSIX compliance
- X-seq: zsh-workers 18199
- From: DervishD <raul@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: printf and POSIX compliance
- Date: Wed, 5 Feb 2003 15:41:44 +0100
- In-reply-to: <20030205141011.A705@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20030204164425.A192@xxxxxxxxxxxxxxxxxx> <20030204182611.GE18261@DervishD> <20030205141011.A705@xxxxxxxxxxxxxxxxxx>
Hi Stephane :)
> > That is Single Unix Specification, not POSIX, am I wrong?
> I must confess I've not understood all of this imbroglio of
> obscure specifications
Neither have I O:)) And the number of specs seems to grow on a
daily basis...
> > > Note that neither bash nor GNU printf behave better.
> [...]
> > BTW, as far as I know, zsh has not a printf builtin.
> I was actually speaking of printf builtin in zsh developpement
> series (4.1.1-dev-x), aka "print -f"
Oh, sorry, didn't know that the development branch of zsh
implements a printf builtin O:)
> So, that doesn't really matter if zsh printf adopts one syntax or
> another, but it may be wise to pick the one that is more likely to
> eventually become standard one day. Maybe the bash behavior (\351
> and \0351 both expanding to é) is the least worst...
I think that is better to stuck to an standard, being that POSIX
or SuS. Since SuS gives its spec freely (I mean, you don't have to
pay for giving free software to the community that is SuS compliant)
I prefer that standard over the rest, but obviously is a personal
choice ;)))
Being bash-compliant is, IMHO, just a way of standardize bad
behaviour. If GNU printf is broken, non POSIX or SuS compliant, then
submit a bug report. The shellutils developers care about standard
compliance, I've submitted such bug reports in the past.
Bye :)
Raúl
Messages sorted by:
Reverse Date,
Date,
Thread,
Author