Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: no way to keep my glob expanded ? (i don't think so)
- X-seq: zsh-users 12896
- From: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: no way to keep my glob expanded ? (i don't think so)
- Date: Wed, 4 Jun 2008 14:12:39 +0200
- In-reply-to: <200806041144.m54BiHtT004038@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080604112956.GB25558@xxxxxxxxxxxxxxxxxxxxx> <200806041144.m54BiHtT004038@xxxxxxxxxxxxxx>
On Wed, Jun 04, 2008 at 12:44:17PM +0100, Peter Stephenson wrote:
> > ft gave a workaround on #zsh: print -l *c(e-'REPLY=${REPLY//truc/}'-)
>
> As Mikael explained, you can also use history-style modifiers in glob
> qualifiers, which are more readable. I think *c(:gs/truc//) is the
> best answer you are likely to get.
it points on the fact we could use history modifiers in globs: great
tips. Thanks, Mikael!
> There's a long (but still probably incomplete) description of how the
> parameter transformations work in zshexpn: search for "brain damage".
i know ... but i burned my brain all times i tried to read it. I'll try
again, time to time ...
i thought of something more visual ... a set -xxx flag :)
btw thanks for all your quick, complete and patient answers.
Regards
--
Marc Chantreux
BibLibre, expert en logiciels libres pour l'info-doc
http://biblibre.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author