zsh-users
 help / color / mirror / code / Atom feed
* running a command multiple times on a glob pattern
@ 2001-09-06  1:23 Andre Pang
  2001-09-06  6:41 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Pang @ 2001-09-06  1:23 UTC (permalink / raw)
  To: zsh-users

hello,

i'm thinking that it'd be really handy to have some sort of
shell construct that looks like

    tar zxvf {{*.tar.gz}}

which basically expands to

    for i in *.tar.gz; do tar zxvf $i; done

(ignore the silly syntax i'm using, of course).  is this
possible at all?  i think it's used frequently enough that it
might be worthwhile to implement.


-- 
#ozone/algorithm <ozone@algorithm.com.au>          - trust.in.love.to.save


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

end of thread, other threads:[~2001-09-06  6:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-06  1:23 running a command multiple times on a glob pattern Andre Pang
2001-09-06  6:41 ` Bart Schaefer

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