Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Glob qualifier for modification time on directories



=?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