Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Parameter expansion flag (%) priority.
- X-seq: zsh-users 11786
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh users <zsh-users@xxxxxxxxxx>
- Subject: Re: Parameter expansion flag (%) priority.
- Date: Mon, 20 Aug 2007 17:26:23 +0100
- In-reply-to: <20070820153622.GX25247@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070820151308.GW25247@xxxxxxxxxxxxxxx> <200708201523.l7KFNxKf025619@xxxxxxxxxxxxxx> <20070820153622.GX25247@xxxxxxxxxxxxxxx>
Frank Terbeck wrote:
> > That's actually easy: ${(L):-${(%):-%n}} (or %m if that's what you
> > meant). This is fully guaranteed against programmers' whims.
>
> Shouldn't ${(L)${(%):-%m} (yes, you're right, I meant '%m') be enough?
Yes, you're right.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author