freebsd-nq/bin
Colin Percival 310924af3d Fixes to output of ls -lh for certain file sizes:
1. Sizes in the range 1000 -- 1023 units require four characters width
   for the integer; increase the field width to accomodate this.
2. Sizes in the range 9.95 -- 10 units were being displayed as "10.0"
   units; adjust the logic to fix this, and now that we've got an extra
   character of field width, print fractional units if the size is less
   than 99.95 units.
3. Don't display sub-byte precision.

This should mean that the following sizes are displayed:
    0B .. 1023B
  1.0U ..  9.9U
 10.0U .. 99.9U
  100U .. 1023U
for values of U in "KMGTPE".

PR:		bin/63547
Pointy hat to:	cperciva
Approved by:	rwatson (mentor)
2004-03-01 19:25:27 +00:00
..
cat
chflags Only call chflags() on directories once. 2004-02-18 18:45:11 +00:00
chio
chmod
cp
csh style.Makefile: 2004-02-23 20:05:14 +00:00
date
dd
df Use int rather than size_t storage for printf field widths to avoid 2004-02-08 23:42:09 +00:00
domainname
echo
ed
expr
getfacl
hostname
kenv
kill
ln
ls Fixes to output of ls -lh for certain file sizes: 2004-03-01 19:25:27 +00:00
mkdir
mv
pax
ps style.Makefile: 2004-02-23 20:05:14 +00:00
pwd
rcp
realpath
rm
rmail style.Makefile: 2004-02-23 20:05:14 +00:00
rmdir
setfacl
sh style.Makefile: 2004-02-23 20:05:14 +00:00
sleep
stty
sync
test
uuidgen
Makefile
Makefile.inc