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

Re: sh vs zsh behavior



On Tue, 9 Apr 1996, Clinton Bunch wrote:

> Timothy J. Luoma wrote:
> >
> > #!/usr/local/bin/zsh -f
> >
> > test="one two three"
> >
> > for i in $test

> try replacing the above line with this:
>   for i in $(echo $test)

> > ps -- I'm using 2.6-beta13 under NeXTStep/m68k
>
> That worked for me under 2.6-beta13 on AIX
>
> 	Hope this helps,
> 	Clinton

YES!

That did it.

In a grand total of 16 minutes since my message hit the list, a reply was
in my hand....

Thanks!

TjL

ps -- if anyone know how to mimic the csh-multiple comparison, I'd still
like to hear about it.




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