|
| From: | Jan Schampera |
| Subject: | Re: range match works incorrect |
| Date: | Thu, 05 Jun 2008 19:06:45 +0200 |
| User-agent: | IceDove 1.5.0.14eol (X11/20080509) |
Roman Rakus wrote: > I think in range [a-d] shouldn't be any upper char. These are 2 > different things. Collate orders and range match. Try to use glob and > you will see difference. > This is really not good behavior of bash. This is and always has been locale-dependent. The collation sequence defined with the left and right borders you give with [x-y] matters. It's the very same behaviour you have with BRE/ERE. Not to mention the POSIX requirement. J.
| [Prev in Thread] | Current Thread | [Next in Thread] |