GNU bug report logs -
#11305
df: misaligned table header depending on the locale
Previous Next
Reported by: Vincent Ramos <siva <at> kailaasa.net>
Date: Sat, 21 Apr 2012 17:51:02 UTC
Severity: normal
Tags: notabug
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11305 in the body.
You can then email your comments to 11305 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#11305
; Package
coreutils
.
(Sat, 21 Apr 2012 17:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vincent Ramos <siva <at> kailaasa.net>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sat, 21 Apr 2012 17:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I use df on a daily basis under Ubuntu 11.10 (GNU/Linux
3.0.0-19-generic-pae i686). My df version is df (GNU coreutils) 8.5.
When I use it in a French locale, the table header is badly aligned whereas
with the English one, the alignment is correct:
$ export LC_ALL=fr_FR.UTF8
$ df
Sys. de fichiers Taille Uti. Disp. Uti% Monté sur
/dev/sda5 268G 181G 73G 72% /
udev 1,9G 4,0K 1,9G 1% /dev
tmpfs 775M 1,1M 774M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1,9G 1,1M 1,9G 1% /run/shm
$ export LC_ALL=en_GB.utf8 # Works with other locales like POSIX, C.UTF-8,
and so on.
$ df
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 268G 181G 73G 72% /
udev 1.9G 4.0K 1.9G 1% /dev
tmpfs 775M 1.1M 774M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.9G 1.1M 1.9G 1% /run/shm
It can be annoying to read with larger fstabs, especially with 1-K blocks:
Sys. de fichiers 1K-blocs Utilisé Dispo. Uti% Monté sur
/dev/sda1 28834716 8161920 19208072 30% /
none 1024196 356 1023840 1% /dev
none 1028420 12 1028408 1% /dev/shm
none 1028420 132 1028288 1% /var/run
none 1028420 0 1028420 0% /var/lock
none 1028420 0 1028420 0% /lib/init/rw
/dev/sda6 276812568 61503260 212497052 23% /home
/dev/sdd1 480720592 258354472 197946844 57% /media/mnemo
/dev/sdc1 2009784 144864 1864920 8% /media/disk-1
/dev/sdb1 1993812 1683556 310256 85% /media/disk-2
Do other non-English locales suffer from the same misalignment?
Thanks,
Vincent Ramos
[Message part 2 (text/html, inline)]
Added tag(s) notabug.
Request was from
Jim Meyering <jim <at> meyering.net>
to
control <at> debbugs.gnu.org
.
(Sun, 22 Apr 2012 07:40:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Jim Meyering <jim <at> meyering.net>
:
You have taken responsibility.
(Sun, 22 Apr 2012 07:40:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Vincent Ramos <siva <at> kailaasa.net>
:
bug acknowledged by developer.
(Sun, 22 Apr 2012 07:40:03 GMT)
Full text and
rfc822 format available.
Message #12 received at 11305-done <at> debbugs.gnu.org (full text, mbox):
tags 11305 notabug
thanks
Vincent Ramos wrote:
> I use df on a daily basis under Ubuntu 11.10 (GNU/Linux
> 3.0.0-19-generic-pae i686). My df version is df (GNU coreutils) 8.5.
>
> When I use it in a French locale, the table header is badly aligned whereas
> with the English one, the alignment is correct:
>
> $ export LC_ALL=fr_FR.UTF8
> $ df
> Sys. de fichiers Taille Uti. Disp. Uti% Monté sur
> /dev/sda5 268G 181G 73G 72% /
> udev 1,9G 4,0K 1,9G 1% /dev
> tmpfs 775M 1,1M 774M 1% /run
> none 5,0M 0 5,0M 0% /run/lock
> none 1,9G 1,1M 1,9G 1% /run/shm
Thank you for the report.
However, 8.5 is getting rather old.
The latest is 8.16, and that bug has been fixed since 8.11.
Message #13 received at 11305-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
2012/4/22 Jim Meyering <jim <at> meyering.net>
> tags 11305 notabug
> thanks
>
> Vincent Ramos wrote:
> > I use df on a daily basis under Ubuntu 11.10 (GNU/Linux
> > 3.0.0-19-generic-pae i686). My df version is df (GNU coreutils) 8.5.
> >
> > When I use it in a French locale, the table header is badly aligned
> whereas
> > with the English one, the alignment is correct:
> ...
>
> Thank you for the report.
>
> However, 8.5 is getting rather old.
> The latest is 8.16, and that bug has been fixed since 8.11.
>
OK, thanks. I see that the future package in Ubuntu will be 8.13, so it
should be corrected.
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 20 May 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.