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..


_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to