Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Glob qualifier for modification time on directories
- X-seq: zsh-workers 25114
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Glob qualifier for modification time on directories
- Date: Tue, 27 May 2008 12:03:26 +0100
- In-reply-to: <slrng3nlnp.213.joerg@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrng3nlnp.213.joerg@xxxxxxxxxxxx>
=?UTF-8?Q?J=C3=B6rg?= Sommer wrote:
> % echo ${(s.:.)PATH}(Nms-20)
> /home/joerg/bin /usr/lib/ccache /home/joerg/bin /usr/local/bin /usr/bin
> /bin /usr/games /usr/sbin
You're only applying the glob qualifiers to the last entry, unless you
have RC_EXPAND_PARAM set. Try
% echo ${(s.:.)^PATH}(Nms-20)
or, in fact,
% echo $^path(Nms-20)
--
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