zsh-users
 help / color / mirror / code / Atom feed
* this should be easy variable expansion including globs.
@ 2017-01-18 16:13 Ray Andrews
  2017-01-18 18:46 ` Peter Stephenson
  0 siblings, 1 reply; 6+ messages in thread
From: Ray Andrews @ 2017-01-18 16:13 UTC (permalink / raw)
  To: Zsh Users

$ 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).




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-18 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 16:13 this should be easy variable expansion including globs Ray Andrews
2017-01-18 18:46 ` Peter Stephenson
2017-01-18 19:51   ` Ray Andrews
2017-01-18 20:12     ` Nikolay Aleksandrovich Pavlov (ZyX)
2017-01-18 20:30       ` Ray Andrews
     [not found]     ` <484161484770354__27207.6165573255$1484770824$gmane$org@web26m.yandex.ru>
2017-01-18 20:20       ` Daniel Shahaf

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