Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

quoting bug



zsh fails to break up strings properly where other shells do the right thing.

This happens with beta21 and all previous versions I have.

Best Regards,
-Raymond

----------------------------------------------------------------------

123[krait:~/tmp/zshbug]% <bug.zsh 

FOO="ls -C"

BAR="`$FOO -F`"

echo $BAR

124[krait:~/tmp/zshbug]% ksh ./bug.zsh
bug.zsh

125[krait:~/tmp/zshbug]% bash ./bug.zsh 
bug.zsh

126[krait:~/tmp/zshbug]% sh ./bug.zsh 
bug.zsh

127[krait:~/tmp/zshbug]% /bin/posix/sh ./bug.zsh 
bug.zsh

128[krait:~/tmp/zshbug]% zsh -f ./bug.zsh 
./bug.zsh: command not found: ls -C [4]

----------------------------------------------------------------------




Messages sorted by: Reverse Date, Date, Thread, Author