|
From: | Roumen Petrov |
Subject: | Re: Word splitting with zsh fix |
Date: | Sun, 12 Feb 2006 23:52:23 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |