From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23230 invoked from network); 6 Sep 2001 01:23:56 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Sep 2001 01:23:56 -0000 Received: (qmail 14409 invoked by alias); 6 Sep 2001 01:23:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4200 Received: (qmail 14397 invoked from network); 6 Sep 2001 01:23:35 -0000 Date: Thu, 6 Sep 2001 11:23:17 +1000 From: Andre Pang To: zsh-users@sunsite.dk Subject: running a command multiple times on a glob pattern Mail-Followup-To: zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.20i Message-Id: <999739397.219670.15579.nullmailer@bozar.algorithm.com.au> 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 - trust.in.love.to.save