Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14455 - Misalignment on ls -l output

Attached to Project: Arch Linux
Opened by txfx (txfx) - Saturday, 25 April 2009, 13:21 GMT
Last edited by Jan de Groot (JGC) - Monday, 11 May 2009, 22:47 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
the output of a ls -l is misaligned due to different length for the month abbreviation in my locale.

> ls -l
total 0
-rw-r--r-- 1 fx users 0 mai 14 2008 file1
-rw-r--r-- 1 fx users 0 nov. 24 15:07 file2
-rw-r--r-- 1 fx users 0 avril 25 15:07 file3

It seems to be an issue with the glibc where the abbreviated month name for the fr locale are not of the same length (see glibc-2.9/localedata/tst-langinfo.sh:262).
But maybe it's a bug in ls, where the output would have to be aligned ?


Additional info:
* package version(s)
glibc 2.9-4
coreutils 7.2-1

* config and/or log files etc.
output from locale:
LANG=fr_FR.utf8
LC_CTYPE="fr_FR.utf8"
LC_NUMERIC="fr_FR.utf8"
LC_TIME="fr_FR.utf8"
LC_COLLATE=C
LC_MONETARY="fr_FR.utf8"
LC_MESSAGES=en_US.utf8
LC_PAPER="fr_FR.utf8"
LC_NAME="fr_FR.utf8"
LC_ADDRESS="fr_FR.utf8"
LC_TELEPHONE="fr_FR.utf8"
LC_MEASUREMENT="fr_FR.utf8"
LC_IDENTIFICATION="fr_FR.utf8"
LC_ALL=
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 11 May 2009, 22:47 GMT
Reason for closing:  Fixed
Comment by xduugu (xduugu) - Monday, 11 May 2009, 11:10 GMT
Can you confirm, that it is fixed now?

From http://www.archlinux.org/pipermail/arch-dev-public/2009-May/011406.html

> ls now aligns output correctly in the presence of abbreviated month
> names from the locale database that have differing widths.
Comment by txfx (txfx) - Monday, 11 May 2009, 18:14 GMT
yeah, it is fixed with coreutils 7.4-1 :)

Loading...