From: Wayne Davison <wayned@users.sourceforge.net>
To: Roumen Petrov <bugtrack@roumenpetrov.info>
Cc: Zsh Workers <zsh-workers@sunsite.dk>, bug-libtool@gnu.org
Subject: Re: Word splitting with zsh fix
Date: Mon, 13 Feb 2006 00:46:51 -0800 [thread overview]
Message-ID: <20060213084651.GC31780@dot.blorf.net> (raw)
In-Reply-To: <43EFAE17.9020800@roumenpetrov.info>
On Sun, Feb 12, 2006 at 11:52:23PM +0200, Roumen Petrov wrote:
> I don't know other way to write compatible script without to set
> SH_WORD_SPLIT for zsh.
The right way is to run the script using /bin/sh, and if that happens
to be zsh, it will automatically set SH_WORD_SPLIT when it turns on sh
emulation mode. When run explicitly as zsh, you can turn it on manually
using something like this:
[ -n "${ZSH_VERSION+set}" ] && emulate sh
> Is word splitting on ${1+"$@"} bug in zsh ?
Yes, it is. I'm looking into a fix.
..wayne..
next prev parent reply other threads:[~2006-02-13 8:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-11 12:22 DervishD
2006-02-12 8:56 ` Ralf Wildenhues
2006-02-12 10:33 ` DervishD
2006-02-13 16:52 ` Ralf Wildenhues
2006-02-12 15:05 ` Roumen Petrov
2006-02-12 16:57 ` Andrey Borzenkov
2006-02-12 21:52 ` Roumen Petrov
2006-02-12 18:45 ` Wayne Davison
2006-02-12 21:52 ` Roumen Petrov
2006-02-13 8:46 ` Wayne Davison [this message]
2006-02-13 11:37 ` DervishD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060213084651.GC31780@dot.blorf.net \
--to=wayned@users.sourceforge.net \
--cc=bug-libtool@gnu.org \
--cc=bugtrack@roumenpetrov.info \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).