If it's of any help to know, the output is almost correctly aligned on an 
English system if you use the human (-h) option of df. (It's only off by one 
space, starting from the"Size" column). 
Perhaps the alignment code for that case could be factored out and used more 
generally?

luke

[code]
$ df -h
Filesystem            Size Used Avail Use% Mounted on
/dev/sda6              19G   12G  6.4G  64% /
udev                  2.0G  316K  2.0G   1% /dev
none                  2.0G  228K  2.0G   1% /dev/shm
none                  2.0G  380K  2.0G   1% /var/run
none                  2.0G     0  2.0G   0% /var/lock
none                  2.0G     0  2.0G   0% /lib/init/rw
none                   19G   12G  6.4G  64% /var/lib/ureadahead/debugfs
...

$ df
Filesystem           1K-blocks Used Available Use% Mounted on
/dev/sda6             19228276  11629644   6621884  64% /
udev                   2060668       316   2060352   1% /dev
none                   2060668       228   2060440   1% /dev/shm
none                   2060668       380   2060288   1% /var/run
none                   2060668         0   2060668   0% /var/lock
none                   2060668         0   2060668   0% /lib/init/rw
none                  19228276  11629644   6621884  64% 
/var/lib/ureadahead/debugfs
[/code]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/181731

Title:
  National translations of "df" output misaligned

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to