From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25117 invoked by alias); 25 Jul 2011 08:34:17 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29600 Received: (qmail 26281 invoked from network); 25 Jul 2011 08:34:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110725013402.ZM15058@torch.brasslantern.com> Date: Mon, 25 Jul 2011 01:34:02 -0700 In-reply-to: <1311403039.25825.207.camel@zareason> Comments: In reply to Jesse Weinstein "'r' history parameter documentation fix" (Jul 22, 11:37pm) References: <1311403039.25825.207.camel@zareason> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Jesse Weinstein , zsh-workers Subject: Re: 'r' history parameter documentation fix MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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?