Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: array to braced list conversion ?
- X-seq: zsh-users 3410
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <jarausch@xxxxxxxxxxxxxxxxxxx>, <zsh-users@xxxxxxxxxxxxxx>
- Subject: RE: array to braced list conversion ?
- Date: Wed, 6 Sep 2000 13:05:11 +0400
- Importance: Normal
- In-reply-to: <200009060845.KAA98530@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
>
> Hi all,
>
> Is there a simple possibility to convert an array
> to a brace delimited list?
>
> E.g.
>
> set +A LIST a b c
>
> how can I get the analog of
>
> ls /usr/local/bin/{a,b,c}
> using LIST ?
>
list=(a b c)
ls /usr/local/bin/$^list
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author