zsh-users
 help / color / mirror / code / Atom feed
From: Thomas Koehler <thomas@wi3d01.informatik.uni-wuerzburg.de>
To: zsh-users@math.gatech.edu
Subject: Re: 'for' loop question
Date: Wed, 25 Feb 1998 22:22:49 +0100	[thread overview]
Message-ID: <19980225222249.48757@willkuere.informatik.uni-wuerzburg.de> (raw)
In-Reply-To: <199802252044.PAA13635@luomat.peak.org>; from Timothy J Luoma on Wed, Feb 25, 1998 at 03:44:14PM -0500

On Wed, Feb 25, 1998 at 03:44:14PM -0500, Timothy J Luoma wrote:

> 
> Can I do this in zsh?  It doesn't seem to be working:
> 
> 	SERVERS="rs.internic.net whois.arin.net whois.ripe.net  
> whois.apnic.net whois.nic.mil"
> 
> 	for i in $SERVERS
> 	do

Try this:
SERVERS=(rs.internic.net whois.arin.net whois.ripe.net whois.apnic.net whois.nic.mil)
for i in $SERVERS ; do echo $i ; done

CU,
Thomas

-- 
    Thomas Köhler    Email:     jean-luc@picard.franken.de
        <><           WWW:    http://home.pages.de/~jeanluc/
                      IRC:               jeanluc
      LCARS --- Linux for Computers on All Real Starships


  reply	other threads:[~1998-02-25 21:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-25 20:44 Timothy J Luoma
1998-02-25 21:22 ` Thomas Koehler [this message]
1998-02-25 21:23 ` Bart Schaefer
1998-02-25 21:47 ` Greg Badros

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=19980225222249.48757@willkuere.informatik.uni-wuerzburg.de \
    --to=thomas@wi3d01.informatik.uni-wuerzburg.de \
    --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).