Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
'r' history parameter documentation fix
- X-seq: zsh-workers 29599
- From: Jesse Weinstein <jesse@xxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxx>
- Subject: 'r' history parameter documentation fix
- Date: Fri, 22 Jul 2011 23:37:19 -0700
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
In the Modifier's section of the docs, defining the 'r' history
modifier, "Remove a filename extension of the form `.XXX', leaving the
root name." appears to be subtly wrong.
At least in 4.3.10.Debian, (foo=blah.flac; echo ${foo:r}) gives blah,
although it should't, according to the manual, as .flac isn't of the
form .XXX .
I think the doc should be changed to "Remove a filename extension
leaving the root name."
Jesse Weinstein
Messages sorted by:
Reverse Date,
Date,
Thread,
Author