Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
this should be easy variable expansion including globs.
- X-seq: zsh-users 22397
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: this should be easy variable expansion including globs.
- Date: Wed, 18 Jan 2017 08:13:54 -0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
$ 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