Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: converting parameter to words
- X-seq: zsh-users 3456
- From: "Jack McKinney" <jackmc-zsh-users@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: converting parameter to words
- Date: Fri, 13 Oct 2000 15:02:57 -0500
- In-reply-to: <1001013182323.ZM5486@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Fri, Oct 13, 2000 at 06:23:23PM +0000
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20001013104819.A32478@xxxxxxxxxxxxxxxxxx> <gmv3di04sz5.fsf@xxxxxxxxxxxxxxxxxxx> <1001013182323.ZM5486@xxxxxxxxxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Big Brother tells me that Bart Schaefer wrote:
> On Oct 13, 10:48am, Jack McKinney wrote:
> }
> } for i
> } do
> } temp="$temp -r $i"
> } done
> }
> } command $temp
> }
> } From the man page, it sounds like ${^temp} or ${=temp} should
> } work, but neither does.
>
> ${=temp} should have done it for you:
>
> zagzig[562] x="foo -r bar -r baz"
> zagzig[563] print -l ${=x}
Yep... this did it. I found another bone-headed error in the script
that was causing the real problem.
- --
"Restore your inalienable human rights. Jack McKinney
Vote Libertarian. http://www.lp.org http://www.lorentz.com
http://www.harrybrowne2000.org
F4 A0 65 67 58 77 AF 9B FC B3 C5 6B 55 36 94 A6 jackmc@xxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBOedqbkZx0BGJTwrZAQG2FwQAhImbPTBIKB8lSNGQeGBpIQ8hiE+d6vXx
5GSgL827sA/YWNc0mJqSVkYSRyNp+aLckHpMI7PWHFAp/aBHrT8DDeuX43GtIWfw
zek+krAz50DsqEC24zkhz1ia9W+peAn8EooarnSH9JkJhPObhChKvg0yJ/vmIjO/
F/kSil5k3a4=
=lW0a
-----END PGP SIGNATURE-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author