[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep upper/lower case instability with character ranges
From: |
Dan Jacobson |
Subject: |
grep upper/lower case instability with character ranges |
Date: |
05 Jan 2001 20:01:28 +0800 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Dudes, something disturbing is going on:
$ echo W|grep '[w-z]'
$ echo W|grep '[v-z]'
W
$ echo W|grep '[x-z]'
$ echo W|grep '[v]'
$ echo W|grep '[v-x]'
W
$ echo w|grep '[V-X]'
w
$ echo w|grep '[W-X]'
w
$ echo w|grep '[W]'
$ echo w|grep '[WX]'
$ echo w|grep '[VWX]'
$ grep --version
grep (GNU grep) 2.4.2
Mandrake 7.2
--
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com. 積丹尼
- grep upper/lower case instability with character ranges,
Dan Jacobson <=