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

Re: 'r' history parameter documentation fix



On Mon, 25 Jul 2011 09:41:30 -0400
"Benjamin R. Haskell" <zsh@xxxxxxxxxx> wrote:
> :e is described in the same section as "Remove all but the extension",
> which by the definition above would include the dot.

Right, as Manuel also pointed out.  This could say "remove all but the
part of the file extension following the `.'" and refer to :r.  That
seems to be unambiguous, given that :r defines it to include the ".".

(Or we could of course say that :r removed the "." and the file
extension, but that seems to make the description more waffly.)

-- 
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog



Messages sorted by: Reverse Date, Date, Thread, Author