* Brace expansion from arrays?
@ 2006-05-20 20:18 Johann 'Myrkraverk' Oskarsson
2006-05-20 21:45 ` Clint Adams
0 siblings, 1 reply; 3+ messages in thread
From: Johann 'Myrkraverk' Oskarsson @ 2006-05-20 20:18 UTC (permalink / raw)
To: zsh-users
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-20 22:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-20 20:18 Brace expansion from arrays? Johann 'Myrkraverk' Oskarsson
2006-05-20 21:45 ` Clint Adams
2006-05-20 23:12 ` Johann 'Myrkraverk' Oskarsson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).