zsh-users
 help / color / mirror / code / Atom feed
From: Nemeth Ervin <airwin@inf.bme.hu>
To: "Jack McKinney" <jackmc-zsh-users@lorentz.com>
Cc: zsh-users@sunsite.auc.dk
Subject: Re: converting parameter to words
Date: 13 Oct 2000 18:16:14 +0200	[thread overview]
Message-ID: <gmv3di04sz5.fsf@kempelen.iit.bme.hu> (raw)
In-Reply-To: "Jack McKinney"'s message of "Fri, 13 Oct 2000 10:48:19 -0500"

Hi,

"Jack McKinney" <jackmc-zsh-users@lorentz.com> writes:

[...]

> #!/bin/zsh
> 
> for i
> do
>   temp="$temp -r $i"
> done
> 
> command $temp


for i in ...
do
  temp=("$temp[@]" -r "$i")
done

command "$temp[@]"



HTH,
-- 
Ervin
						"Intelligenti pauca."


  reply	other threads:[~2000-10-13 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-13 15:48 Jack McKinney
2000-10-13 16:16 ` Nemeth Ervin [this message]
2000-10-13 18:23   ` Bart Schaefer
2000-10-13 20:02     ` Jack McKinney
2000-10-13 19:53   ` Jack McKinney

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=gmv3di04sz5.fsf@kempelen.iit.bme.hu \
    --to=airwin@inf.bme.hu \
    --cc=jackmc-zsh-users@lorentz.com \
    --cc=zsh-users@sunsite.auc.dk \
    /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).