From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7596 invoked by alias); 15 Feb 2012 12:16:40 -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: 30225 Received: (qmail 8014 invoked from network); 15 Feb 2012 12:16:38 -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,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: zsh-workers@zsh.org Subject: Re: printf %s in UTF-8 is not always POSIX-compliant In-Reply-To: <20120215115347.GD19525@xvii.vinc17.org> (Vincent Lefevre's message of "Wed, 15 Feb 2012 12:53:47 +0100") References: <20120215021519.GA19525@xvii.vinc17.org> <120215001413.ZM22585@torch.brasslantern.com> <20120215110519.2ea11f1a@pwslap01u.europe.root.pri> <20120215115347.GD19525@xvii.vinc17.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) Date: Wed, 15 Feb 2012 13:09:17 +0100 Message-ID: <87lio470ya.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: [pbs]NDMwNDQ0 Vincent Lefevre wrote: > 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. [...] > 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. Frankly, that would be the vendor's fault then. There are many *MANY* ksh implementations, that make for a reasonable link target (ksh93, pdksh or mksh - to name just a few). Zsh is not one of them. IMHO, ksh-emulation is a little bit like csh emulation: It's meant to make users with ksh background feel more "at home", not as a strict bug-for-bug emulation. Regards, Frank