On 12/02/10 08:40, Luke Kendall wrote:
(A long time ago) Jim Meyering wrote:
Luke Kendall <[email protected]> wrote:
The column formatting of the plain "df" output is misaligned, making it
hard to read. Same is true for -P option. For example:
...
: /home/data/audio; df --version
df (GNU coreutils) 5.96

Thanks for the report.
That's probably fixed in the latest stable release: coreutils-6.9.
If not, please let us know.

Still broken for me:

It's to do with your locale:

$ head -n1 /etc/issue
Ubuntu 9.10 \n \l

$ dpkg -s coreutils | grep Version
Version: 7.4-2ubuntu1

$for LANG in en_AU.utf8 en_IE.utf8; do df | head -n2; done
Filesystem           1K-blocks Used Available Use% Mounted on
/dev/sda1             14421344   6657252   7031532  49% /
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1             14421344   6657252   7031532  49% /

Interestingly I can't reproduce it on fedora 11 (coreutils-7.2) or
fedora 12 (coreutils-7.6), or on en_AU on unbuntu.
Note coreutils doesn't provide english variant translations,
while ubuntu does, so I'm guessing it's an issue with the
en_AU ubuntu coreutils translation?

However, df -P works (except for large drives).

I'll look at fixing the alignment for large drives soon.

cheers,
Pádraig.


Reply via email to