Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
running a command multiple times on a glob pattern
- X-seq: zsh-users 4200
- From: Andre Pang <ozone@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: running a command multiple times on a glob pattern
- Date: Thu, 6 Sep 2001 11:23:17 +1000
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxx> - trust.in.love.to.save
Messages sorted by:
Reverse Date,
Date,
Thread,
Author