From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 743 invoked by alias); 15 Feb 2012 11:53:59 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30224 Received: (qmail 14691 invoked from network); 15 Feb 2012 11:53:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Wed, 15 Feb 2012 12:53:47 +0100 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: printf %s in UTF-8 is not always POSIX-compliant Message-ID: <20120215115347.GD19525@xvii.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20120215021519.GA19525@xvii.vinc17.org> <120215001413.ZM22585@torch.brasslantern.com> <20120215110519.2ea11f1a@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120215110519.2ea11f1a@pwslap01u.europe.root.pri> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6201-vl-r48020 (2011-12-20) On 2012-02-15 11:05:19 +0000, Peter Stephenson wrote: > This sounds correct... We've never promised ksh mode would be a complete > representation of ksh anyway. I realise that, for historical reasons > related to standards rather than zsh, you'd expect ksh mode to be POSIX > compatible, but actually we don't tend to bother because ksh mode isn't > that widely used and so doesn't get a lot of attention (I certainly > never use it). If you really want compatibility native zsh mode or sh > mode are the sensible choices. The problem is that on some machines, one has a symlink ksh -> zsh. If I type ksh or run a script with #!/usr/bin/ksh, I expect this to behave as a real ksh. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)