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

this should be easy variable expansion including globs.



$ var1=var1

$ var2=var2

$ var3=var3

$ var99=var99

$ for f ($var*) echo $f


var1

var2

var3

var99


... How do I do what I'm trying to do there? This reminds me a bit of my previous issue with 'whence -m' where the glob refers to a pattern, not a list of files but I can't get the syntax right. Everything I google presumes the latter (file globbing).





Messages sorted by: Reverse Date, Date, Thread, Author