Package: coreutils Version: 8.21-1.2 Severity: wishlist File: /bin/df Hi,
when using "df -h" the output will use the largest unit that doesn't have a leading 0. This often results in quite imprecise output, e.g. 1.1T or 1.8G. It would be nice if instead it cout use the smallest unit that use 4 or less characters (maybe even 5 if a "." is involved). So the output would go 0 - 9999 0 - 9999 10.0k - 9999k or 10.00k - 9999k 10.0M - 9999M 10.00M - 9999M 10.0G - 9999G or 10.00G - 9999G and so on. Extra points for adding a --precision=<num chars> instead of hardcoding 4/5 chars. MfG Goswin -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 armel Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages coreutils depends on: ii libacl1 2.2.52-1 ii libattr1 1:2.4.47-1 ii libc6 2.19-17 ii libselinux1 2.3-1 coreutils recommends no packages. coreutils suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org