Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting rid of temporaries...
- X-seq: zsh-workers 19064
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Getting rid of temporaries...
- Date: Thu, 11 Sep 2003 08:56:14 +0000
- In-reply-to: <20030911014657.GA19512@xxxxxxxxxxxxxxxxxx>
- In-reply-to: <1378.1063261796@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20030910203429.GA354@DervishD> <20030910223845.GA10805@xxxxxxxxxxxxxxxxxx> <1030911010623.ZM7489@xxxxxxxxxxxxxxxxxxxxxxx> <20030911014657.GA19512@xxxxxxxxxxxxxxxxxx> <1378.1063261796@xxxxxxxxxxx>
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author