On 2008-10-11, at 04:02, Roger Burton West wrote:
If you want to be sloppy about case in your directory listings, fine.
Breaking a shell script that wants to look at files [A-Z]* but not
[a-z]* is going a bit far.
Ja. I have often thought that it was hatefully stupid to make the
traditional UNIX utilities locale-aware. Rather, new tools should
have been implemented that performed the same functions. For example:
$ echo z | env LANG=en_GB.utf-8 grep '[A-Z]'
$ echo z | env LANG=en_GB.utf-8 stream '/[A-Z]/p'
z
Whether it was called lgrep, or search, or stream editor, it should
be easy and convenient to use, but be a new environment.