[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Minor bug in df
From: |
Pádraig Brady |
Subject: |
Re: Minor bug in df |
Date: |
Fri, 12 Feb 2010 15:01:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 |
On 12/02/10 08:40, Luke Kendall wrote:
(A long time ago) Jim Meyering wrote:
Luke Kendall <address@hidden> 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.