From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@math.gatech.edu
Subject: Re: <..> ranges in globbing
Date: 31 Dec 1997 06:17:43 GMT [thread overview]
Message-ID: <slrn6ajos7.r1k.mason@coral.primenet.com.au> (raw)
In-Reply-To: <slrn6ajnl9.pbb.mason@coral.primenet.com.au>
Geoff Wing <mason@primenet.com.au> 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/
next prev parent reply other threads:[~1997-12-31 6:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-31 5:56 Geoff Wing
1997-12-31 6:17 ` Geoff Wing [this message]
1998-01-12 11:13 ` PATCH: zsh 3.x: " Peter Stephenson
1998-01-12 16:16 ` Andrej Borsenkow
1998-01-12 16:59 ` Peter Stephenson
1998-01-12 17:10 ` Andrew Main
1998-01-12 17:50 ` Andrej Borsenkow
1997-12-31 21:37 ` Wessel Dankers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrn6ajos7.r1k.mason@coral.primenet.com.au \
--to=mason@primenet.com.au \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).