Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
<..> ranges in globbing
- X-seq: zsh-workers 3662
- From: mason@xxxxxxxxxxxxxxx (Geoff Wing)
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: <..> ranges in globbing
- Date: 31 Dec 1997 05:56:57 GMT
- Organization: PrimeNet Australia
- Reply-to: mason@xxxxxxxxxxxxxxx
Heyla,
% 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.
Opinions?
--
Geoff Wing [gcw@xxxxxxxxx] 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/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author