Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'r' history parameter documentation fix
On Mon, 25 Jul 2011 13:45:28 +0200
Štěpán Němec <stepnem@xxxxxxxxx> wrote:
> On Monday, 25.07.2011, Peter Stephenson wrote:
>
> > -Remove a filename extension of the form `tt(.)var(xxx)', leaving
> > -the root name.
> > +Remove a filename extension, i.e. a `tt(.)' followed by any number of
> > +characters (including zero) that are not `tt(.)', leaving the root
> > +name.
>
> If you want to go that route, you need to say "the last `tt(.)'".
That would imply that it wasn't clear that the string of characters that
were not "." had to extend to the end of the string, as I'd intended, so
I need to fix that. I also need to say "not `tt(.)' or `tt(/)'".
Remove a filename extension leaving the root name. Strings with no
filename extension are not altered. For this purpose, a filename
extension is a `tt(.)' followed by any number characters (including
zero) that are neither `tt(.)' nor `tt(/)' and that continue to the end
of the string. For example, the extension of
`tt(foo.orig.c)' is `tt(.c)', and `tt(dir.c/foo)' has no extension.
--
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