Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'r' history parameter documentation fix
- X-seq: zsh-workers 29600
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Jesse Weinstein <jesse@xxxxxxxx>, zsh-workers <zsh-workers@xxxxxxx>
- Subject: Re: 'r' history parameter documentation fix
- Date: Mon, 25 Jul 2011 01:34:02 -0700
- In-reply-to: <1311403039.25825.207.camel@zareason>
- 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
- References: <1311403039.25825.207.camel@zareason>
On Jul 22, 11:37pm, Jesse Weinstein wrote:
}
} 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."
That'd be at least as wrong (except maybe less subtly) because it
doesn't define "extension" at all.
I guess the question is whether anyone is really confused by what the
doc currently says?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author