From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27926 invoked from network); 31 Dec 1997 06:31:10 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 31 Dec 1997 06:31:10 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id BAA00666; Wed, 31 Dec 1997 01:16:36 -0500 (EST) Resent-Date: Wed, 31 Dec 1997 01:16:36 -0500 (EST) To: zsh-workers@math.gatech.edu Path: mason From: mason@primenet.com.au (Geoff Wing) Newsgroups: lists.zsh.workers Subject: Re: <..> ranges in globbing Date: 31 Dec 1997 06:17:43 GMT Organization: PrimeNet Australia Message-ID: References: Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 883549063 27701 [GNti4w27/bBK6hJ/r5ecn6G1yoxxhX5f] 203.24.36.33 X-Complaints-To: usenet@coral.primenet.com.au X-Newsreader: slrn (0.9.4.3 UNIX) Resent-Message-ID: <"ZbXIP2.0.LA.4DUgq"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3663 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Geoff Wing typed: :% touch 101 111 121 :% ls <10-12>1 :ls: <10-12>1: No such file or directory :Now, it's obvious why it's failing, since 101, 111 & 121 don't match the :10 to 12 range. My opinion is that it probably shouldn't fail in this case, :but maybe a different operator or option/modifier should be used to get it :to match. since there may be cases where someone wants to match on, say, :``<1-50>foo'' and not get, say, ``100foo'' matching. ``<1-50>*oo'' and ``100foo'' might be better examples. -- Geoff Wing [gcw@pobox.com] Phone : +61-3-9818 2977 Technical Manager: PrimeNet Computer Consultants Facsimile: +61-3-9818 5155 Work URL: http://www.primenet.com.au/ Mobile : 0412 162 441 Ego URL: http://pobox.com/~gcw/