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

Re: Eigenatiges BASH problem...



Am 2005-03-22 02:45:46, schrieb Bruno Hertz:

> Kann ich nicht bestätigen:
> 
> bhertz@caruso:~/tmp$ ls -l
> total 0
> -rw-r--r--  1 bhertz bhertz 0 2005-03-22 02:40 a
> -rw-r--r--  1 bhertz bhertz 0 2005-03-22 02:40 A
> -rw-r--r--  1 bhertz bhertz 0 2005-03-22 02:40 z
> -rw-r--r--  1 bhertz bhertz 0 2005-03-22 02:40 Z
> bhertz@caruso:~/tmp$ locale | grep COLLATE
> LC_COLLATE="en_US"

Mach hier "de_DE"

> bhertz@caruso:~/tmp$ ls [A-Z]
> A  z  Z

Dann bekommste hier:    A  Z

> bhertz@caruso:~/tmp$ ls [a-z]
> a  A  z

genauso wie hier:       a  z

> bhertz@caruso:~/tmp$ export LC_COLLATE=C

Das habe ich auch schon exportiert

> bhertz@caruso:~/tmp$ ls [A-Z]
> A  Z
> bhertz@caruso:~/tmp$ ls [a-z]
> a  z

und ein:        ls *
liefert:        A  Z  a  z

Also der Effect den ich ursprünglich erreichen wollte.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: