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

RE: array to braced list conversion ?



> 
> 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