zsh-users
 help / color / mirror / code / Atom feed
From: Andre Pang <ozone@algorithm.com.au>
To: zsh-users@sunsite.dk
Subject: running a command multiple times on a glob pattern
Date: Thu, 6 Sep 2001 11:23:17 +1000	[thread overview]
Message-ID: <999739397.219670.15579.nullmailer@bozar.algorithm.com.au> (raw)

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


             reply	other threads:[~2001-09-06  1:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06  1:23 Andre Pang [this message]
2001-09-06  6:41 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=999739397.219670.15579.nullmailer@bozar.algorithm.com.au \
    --to=ozone@algorithm.com.au \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).