Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Brace expansion from arrays?



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