Re: Word splitting with zsh fix

2006-02-12 Thread Ralf Wildenhues
* DervishD wrote on Sat, Feb 11, 2006 at 01:22:26PM CET: I've spotted a problem with libtool that has to do with the word splitting that Zsh does in the expression '${1+$@}' (which, in turn, is a workaround to fix the $@ expansion problem when the variable is empty in old shells). GNU

Re: Word splitting with zsh fix

2006-02-12 Thread DervishD
Hi Ralf :) * Ralf Wildenhues [EMAIL PROTECTED] dixit: * DervishD wrote on Sat, Feb 11, 2006 at 01:22:26PM CET: I've spotted a problem with libtool that has to do with the word splitting that Zsh does in the expression '${1+$@}' (which, in turn, is a workaround to fix the $@

Re: Word splitting with zsh fix

2006-02-12 Thread Roumen Petrov
Hi Raúl, I would like to know if option SH_WORD_SPLIT is set problem is solved too ? Test case: === #!/bin/zsh VAR=v1 v2 for V in ${VAR}; do echo V1=$V done setopt SH_WORD_SPLIT for V in ${VAR}; do echo V2=$V done === When

Re: Word splitting with zsh fix

2006-02-12 Thread Andrey Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 12 February 2006 18:05, Roumen Petrov wrote: Hi Raúl, I would like to know if option SH_WORD_SPLIT is set problem is solved too ? No. In this case it splits too much. It was discussed back in 2002 already; using global alias seems to