zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Getting rid of temporaries...
Date: Thu, 11 Sep 2003 08:56:14 +0000	[thread overview]
Message-ID: <1030911085614.ZM8201@candle.brasslantern.com> (raw)
In-Reply-To: <20030911014657.GA19512@lorien.emufarm.org>
In-Reply-To: <1378.1063261796@gmcs3.local>

On Sep 10,  6:46pm, Danek Duvall wrote:
}
} There's still no way of expanding a glob inside ${}, short of ${$(echo *)},
} is there?

No, there's not, because filename generation is always done last.

On Sep 11,  8:29am, Oliver Kiddle wrote:
} Subject: Re: Getting rid of temporaries...
}
} >     print -l *.??.jpg(e['REPLY=${REPLY%.??.jpg}'])
} 
} Isn't that just the same as:
} 
}       print -l *.??.jpg(:r:r)

Yes, it is, but it's harder to generalize the latter to an arbitrary
name rewrite.  What if there weren't a dot before the number part?


  reply	other threads:[~2003-09-11  8:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 20:34 DervishD
2003-09-10 22:38 ` Danek Duvall
2003-09-11  1:06   ` Bart Schaefer
2003-09-11  1:46     ` Danek Duvall
2003-09-11  6:29     ` Oliver Kiddle
2003-09-11  8:56       ` Bart Schaefer [this message]
2003-09-11  9:40         ` DervishD
2003-09-11  9:43         ` DervishD
2003-09-11  9:39       ` DervishD
2003-09-12  9:27         ` Oliver Kiddle
2003-09-12 18:39           ` Bart Schaefer
2003-09-13 17:13             ` DervishD
2003-09-13 17:12           ` DervishD
2003-09-11  9:36     ` DervishD
2003-09-11  9:30   ` DervishD

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=1030911085614.ZM8201@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@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).