From: Wolfgang Hukriede <whukriede@ifm.uni-kiel.de>
To: zsh-users@math.gatech.edu
Subject: Re: 2 more questions
Date: Fri, 21 Feb 1997 16:07:13 +0100 (MET) [thread overview]
Message-ID: <199702211507.QAA13779@sally.ifm.uni-kiel.de> (raw)
Uli Zappe <uli@tallowcross.uni-frankfurt.de> wrote:
> 2. How do I pipe the elements of an array into a command? If I do a
>
> echo $ARRAY | command
>
> the elements are separated only by whitespace instead of newlines
or simply use a for loop, works with /bin/sh also:
for i in $ARRAY; do echo $i; done | command.
Greetings, Wolfgang.
next reply other threads:[~1997-02-21 15:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-21 15:07 Wolfgang Hukriede [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-02-21 11:28 Uli Zappe
1997-02-21 14:41 ` Tomas Gradin
1997-02-21 14:48 ` Duncan Sargeant
1997-02-21 15:12 ` Zefram
1997-02-22 4:23 ` Uli Zappe
1997-02-22 5:04 ` Tomas Gradin
1997-02-22 10:02 ` Uli Zappe
1997-02-22 16:39 ` gwing
1997-02-22 17:48 ` Vincent Lefevre
1997-02-22 19:49 ` Uli Zappe
1997-02-23 15:10 ` gwing
1997-02-23 15:28 ` Hrvoje Niksic
1997-02-23 21:24 ` Zefram
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=199702211507.QAA13779@sally.ifm.uni-kiel.de \
--to=whukriede@ifm.uni-kiel.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).