[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: misalignment in ls -l in fr_FR locale
From: |
Pádraig Brady |
Subject: |
Re: misalignment in ls -l in fr_FR locale |
Date: |
Fri, 20 Mar 2009 12:23:29 +0000 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Samuel Thibault wrote:
> Hello,
>
> $ ls -l
> drwxr-xr-x 5 samy samy 4,0K mars 17 22:33 tmp/
> drwx------ 5 samy samy 4,0K févr. 12 18:20 u/
>
> Because in the fr_FR locale abmon does not have a constant width, the
> content of ls -l is misaligned. Locale standards require abday to have
> a constant width, but that does not apply to abmon, so coreutils should
> take that into account.
Hi Samuel,
I can't reproduce that. What distro and ls version are you using?
This is what I get with the latest coreutils on Fedora 8:
$ LC_ALL=fr_FR.utf8 TIME_STYLE=+"%b %e %H:%M" ./ls -l -h ls.c nl.c
-rw-rw-r-- 1 padraig padraig 124K mar 6 22:47 ls.c
-rw-rw-r-- 1 padraig padraig 15K fév 25 09:46 nl.c
Note that I get shorter abmon values, and also the alignment is fine?
Note I needed to specify TIME_STYLE just for that test
because I hadn't installed the translations to the appropriate place.
All my french locales have the shorter abbreviations BTW?
$ locale -a | grep ^fr.*utf8 | while read LANG; do echo -n $(locale abmon);
echo " $LANG"; done
jan;fév;mar;avr;mai;jun;jui;aoû;sep;oct;nov;déc fr_BE.utf8
jan;fév;mar;avr;mai;jun;jui;aoû;sep;oct;nov;déc fr_CA.utf8
jan;fév;mar;avr;mai;jun;jui;aoû;sep;oct;nov;déc fr_CH.utf8
jan;fév;mar;avr;mai;jun;jui;aoû;sep;oct;nov;déc fr_FR.utf8
jan;fév;mar;avr;mai;jun;jui;aoû;sep;oct;nov;déc fr_LU.utf8
cheers,
Pádraig.
- misalignment in ls -l in fr_FR locale, Samuel Thibault, 2009/03/17
- Re: misalignment in ls -l in fr_FR locale, Eric Blake, 2009/03/18
- Re: misalignment in ls -l in fr_FR locale,
Pádraig Brady <=
- Re: misalignment in ls -l in fr_FR locale, Samuel Thibault, 2009/03/20
- Re: misalignment in ls -l in fr_FR locale, Pádraig Brady, 2009/03/20
- Re: misalignment in ls -l in fr_FR locale, Pádraig Brady, 2009/03/23
- Re: misalignment in ls -l in fr_FR locale, Pádraig Brady, 2009/03/24
- Re: misalignment in ls -l in fr_FR locale, Pádraig Brady, 2009/03/24
- Re: misalignment in ls -l in fr_FR locale, Pádraig Brady, 2009/03/25
- Re: misalignment in ls -l in fr_FR locale, Jim Meyering, 2009/03/26
- Re: misalignment in ls -l in fr_FR locale, Jim Meyering, 2009/03/26
- Re: misalignment in ls -l in fr_FR locale, Pádraig Brady, 2009/03/26
- Re: misalignment in ls -l in fr_FR locale, Jim Meyering, 2009/03/26