Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cross-product array function?
On Feb 3, Nate Johnston wrote
> On Tue, 3 Feb 1998, Andrew Main wrote:
>
> #foo=(first second third)
> #bar=(word person base)
> #echo $^foo$^bar
>
> I attempted this, and I had an odd result on the first element of the
> first array. Is this broken in the version I use?
>
> natej:~> ONE=(1 2 3)
> natej:~> TWO=(A B C)
> natej:~> echo $^ONE$^TWO
> 1C 2A 2B 2C 3A 3B 3C
>
> zsh: 3.0.0
Same here, using zsh-3.1.2 - a really weird thing...
--
-- Thomas Köhler Email: jean-luc@xxxxxxxxxxxxxxxxx
<>< jean-luc@xxxxxxx
IRC: jeanluc Channels: #star_trek #linuxger #ixthys #knf
WWW: http://home.pages.de/~jeanluc/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author