Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: iterating through a hierarchy with a filter
- X-seq: zsh-users 12773
- From: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: iterating through a hierarchy with a filter
- Date: Thu, 10 Apr 2008 10:34:47 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20080410103110.1e1e85cc@news01>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <8BAD0AA6-3B6F-4946-B636-6C16B56A944E@xxxxxxxxx> <200804100851.m3A8pk9S003521@xxxxxxxxxxxxxx> <DDABD6BC-F3D9-4277-86C1-776B24CB914F@xxxxxxxxx> <20080410103110.1e1e85cc@news01>
Peter Stephenson wrote:
> filter <$file >$ddir/{$file:t}
^^^^^^^^^
That should be ${file:t:r}.txt
--
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