zsh-users
 help / color / mirror / code / Atom feed
From: Nate Johnston <natej@mci.net>
To: Andrew Main <zefram@tao.co.uk>
Cc: zsh-users@math.gatech.edu
Subject: Re: cross-product array function?
Date: Tue, 3 Feb 1998 15:59:44 -0500 (EST)	[thread overview]
Message-ID: <Pine.SOL.3.96.980203155605.1958A-100000@start> (raw)
In-Reply-To: <199802031926.TAA12962@taos.demon.co.uk>

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




  parent reply	other threads:[~1998-02-03 21:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-03 19:08 Sweth Chandramouli
1998-02-03 19:26 ` Andrew Main
1998-02-03 19:51   ` Sweth Chandramouli
1998-02-03 20:00     ` Andrew Main
1998-02-03 20:59   ` Nate Johnston [this message]
1998-02-03 22:39     ` Sweth Chandramouli
1998-02-03 22:45     ` Thomas Köhler
1998-02-04  9:29     ` Andrew Main

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOL.3.96.980203155605.1958A-100000@start \
    --to=natej@mci.net \
    --cc=zefram@tao.co.uk \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).