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.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to