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

Re: Word splitting with zsh fix



Wayne Davison wrote:
On Sun, Feb 12, 2006 at 05:05:14PM +0200, Roumen Petrov wrote:

I would like to know if option SH_WORD_SPLIT is set problem is solved
too?


Can you explain what you mean?  Because your test case works exactly
as it should in zsh:

No objections.

% ./testcase
V1=v1 v2
V2=v1
V2=v2



I don't know other way to write compatible script without to set SH_WORD_SPLIT for zsh.
As example ash ./testcase will display:
V1=v1
V1=v2
setopt: not found
V2=v1
V2=v2
Output for ksh and bash is same.


Regards,
Roumen



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