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

Re: ls defaults...



Hello Digby,

Am 2006-02-15 14:41:07, schrieb Digby Tarvin:

> Nothing other than what was done by the normal install program.
> Perhaps it is something that results from telling it that I am
> located in the UK...
> 
> What is you default locale?

Systemwide:     C
My own:         de_DE@euro

> The 'LC_ALL=C' certainly produces the traditional format for me as it
> does for you:
>   digbyt@voyager3:~$ LC_ALL=C ls -ld .
>   drwxr-xr-x  24 digbyt digbyt 2048 Feb 13 14:16 .

> It appears to be a Debian locale thing, as exactly the the same locale
> on my old SuSE and Gentoo systems had no undesireable side effects:

>   digbyt@voyager2:/home/digbyt> ls -ld . 
>   drwxr-xr-x   50 digbyt   digbyt       8192 Feb 15 14:28 .
> 
> If it was intentional, I wonder what the resoning was? What does 'en_GB'
> produce on your various Debian systems? That might tell me if there is any
> other factor involved.

+---[ 'stdin' ]------------------------------------------------------+
|                                                                    |
| [michelle.konzack@devel.private:/tmp/] ls -ld .                    |
| drwxrwxrwt   25 root     root         4096 22. Feb 01:38 .         |
| [michelle.konzack@devel.private:/tmp/] LANG=en_GB LANGUAGE=en_GB L |
| C_ALL=en_GB ls -ld .                                               |
| drwxrwxrwt   25 root     root         4096 Feb 22 01:39 .          |
| [michelle.konzack@devel.private:/tmp/] LANG=en_GB LC_ALL=en_GB loc |
| ale                                                                |
| LANG=en_GB                                                         |
| LC_CTYPE="en_GB"                                                   |
| LC_NUMERIC="en_GB"                                                 |
| LC_TIME="en_GB"                                                    |
| LC_COLLATE="en_GB"                                                 |
| LC_MONETARY="en_GB"                                                |
| LC_MESSAGES="en_GB"                                                |
| LC_PAPER="en_GB"                                                   |
| LC_NAME="en_GB"                                                    |
| LC_ADDRESS="en_GB"                                                 |
| LC_TELEPHONE="en_GB"                                               |
| LC_MEASUREMENT="en_GB"                                             |
| LC_IDENTIFICATION="en_GB"                                          |
| LC_ALL=en_GB                                                       |
+--------------------------------------------------------------------+

Attention:      The output format depends on $LANGUAGE like

+---[ 'stdin' ]-----------------------------------------------------+
|                                                                   |
| [michelle.konzack@devel.private:/tmp/] LANGUAGE=C ls -ld .        |
| drwxrwxrwt   25 root     root         4096 Feb 22 01:52 .         |
| [michelle.konzack@devel.private:/tmp/] LANGUAGE=de_DE ls -ld .    |
| drwxrwxrwt   25 root     root         4096 22. Feb 01:52 .        |
| [michelle.konzack@devel.private:/tmp/] LANGUAGE=en_GB ls -ld .    |
| drwxrwxrwt   25 root     root         4096 Feb 22 01:52 .         |
+-------------------------------------------------------------------+

and not on $LANG or $LC_*

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


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



Reply to: