From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28494 invoked from network); 14 Dec 2000 23:53:33 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Dec 2000 23:53:33 -0000 Received: (qmail 17301 invoked by alias); 14 Dec 2000 23:53:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13276 Received: (qmail 17293 invoked from network); 14 Dec 2000 23:53:25 -0000 To: zsh-workers@sunsite.auc.dk Path: mason From: mason@primenet.com.au (Geoff Wing) X-Newsgroups: lists.zsh.workers Subject: Re: PATCH: Re: :r modifier Date: 14 Dec 2000 23:52:04 GMT Organization: PrimeNet Computer Consultants Distribution: local Message-ID: References: "Andrej Borsenkow"'s message of "Thu, 14 Dec 2000 17:43:11 +0300" Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 976837924 28471 203.43.15.2 (14 Dec 2000 23:52:04 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: 14 Dec 2000 23:52:04 GMT User-Agent: slrn/0.9.6.3 (NetBSD) Alexandre Duret-Lutz typed: :>>> "Andrej" == Andrej Borsenkow writes: :Here is my proposal. The following patch modifies :r, :e, :h, :and :t to behave as I expect them to. My point for doing so is that : 1) this seems natural and more useful (from the user point of : view) ? I don't expect :r to behave that way but I don't really use it much these days so maybe my objections have little weight. : item(tt(r))( :-Remove a trailing suffix of the form `tt(.)var(xxx)', leaving the basename. :+Remove a filename extension of the form `tt(.)var(xxx)', leaving :+the root name. : ) I'm not sure the wording has cleared it up. The previous wording of "trailing suffix" [what's a non-trailing suffix? :-)] wasn't that good but what's the "root name"? (Can't think of anything better at the moment, sorry). Regards, -- Geoff Wing : Rxvt Stuff : Zsh Stuff :