[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: WARNING: potato has horrible broken locales

On Mon 04 Sep 2000, Peter Makholm wrote:

handling of [a-z] discussion snipped

> ls /dev/tty[[:lower:]]0

Ugh. Whatever happened to lazy unix users? a-z is a lot easier to
type than [:lower:] .

I'd find it a lot more reasonable if [A-Z] was interpreted as

Next step will be renaming ls to List-Directory :-(

> On pandora I just did the following:
> $ touch a b c A B C
> $ echo [[:lower:]]
> a b c
> $ echo [[:upper:]]
> A B C
> $ echo [a-c]
> a b c

The scary thing (for me :-) is that this also works on Solaris already.
At least, with ksh, not in sh.

Paul Slootman
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: