Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Brace expansion from arrays?
- X-seq: zsh-users 10288
- From: "Johann 'Myrkraverk' Oskarsson" <myrkraverk@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Brace expansion from arrays?
- Date: Sat, 20 May 2006 23:12:22 +0000
- In-reply-to: <20060520214522.GA28889@xxxxxxxxxxx> (Clint Adams's message of "Sat, 20 May 2006 17:45:22 -0400")
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <m34pzko3g5.fsf@xxxxxxxxxxxxxxxxxx> <20060520214522.GA28889@xxxxxxxxxxx>
Clint Adams <clint@xxxxxxx> writes:
>> a=(stuff to expand)
>> print {$a}to
>>
>> would output "stuffto toto expandto"
>
> print ${^a}to
In that case, is it too much to ask to reference that in the chapter
about BRACE EXPANSION in the man page?
That is, would it make sense to have the following as the last
paragraph in it:
See ${^spec} in PARAMETER EXPANSION for similar expansion of
arrays.
Johann
--
johann myrkraverk com (you know the drill with the @ and .)
I classify Outlook mail as spam, use something else.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author