Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Brace expansion from arrays?
- X-seq: zsh-users 10285
- From: "Johann 'Myrkraverk' Oskarsson" <johann@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Brace expansion from arrays?
- Date: Sat, 20 May 2006 20:18:18 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
Out of sheer curiosity, I was wondering if it was possible to brace
expand {stuff,to,expand}to from arrays too, that is
a=(stuff to expand)
print {$a}to
would output "stuffto toto expandto"
Prelimanary man page grepping and testing indicated: no. So, is there
a way to get the same effects from array expansion? And, would
automagic brace expansion from arrays be 1) useful and 2) hard to
implement?
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