Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: printf %s in UTF-8 is not POSIX-compliant
- X-seq: zsh-workers 24686
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: printf %s in UTF-8 is not POSIX-compliant
- Date: Thu, 6 Mar 2008 02:27:39 +0100
- In-reply-to: <080304173413.ZM19273@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080304012917.GA15833@xxxxxxxxxxxxxxxxxxx> <200803040940.m249e7DC012517@xxxxxxxxxxxxxx> <20080305002721.GF15833@xxxxxxxxxxxxxxxxxxx> <080304173413.ZM19273@xxxxxxxxxxxxxxxxxxxxxx>
On 2008-03-04 17:34:13 -0800, Bart Schaefer wrote:
> On Mar 5, 1:27am, Vincent Lefevre wrote:
> } Subject: Re: printf %s in UTF-8 is not POSIX-compliant
> }
> } > printf() { emulate -L zsh; unsetopt multibyte; builtin printf "$@" }
> }
> } There's a missing semi-colon:
>
> No, there isn't. Zsh doesn't require it, even though bash and ksh do.
Zsh does require it too:
vin:~> zsh -f
vin% emulate sh
vin% printf() { emulate -L zsh; unsetopt multibyte; builtin printf "$@" }
function>
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author