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 We have to hide copyright[] for gcc33. :-( 2003-04-30 17:40:28 +00:00
chflags Only call chflags() on directories once. 2004-02-18 18:45:11 +00:00
chio Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
chmod Print unambiguous paths with -R -v. 2003-12-16 15:17:30 +00:00
cp Don't mmap(2) and munmap(2) zero-length files. 2003-11-13 05:26:55 +00:00
csh style.Makefile: 2004-02-23 20:05:14 +00:00
date Note the Linux required format. 2004-01-06 19:01:34 +00:00
dd Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
df Use int rather than size_t storage for printf field widths to avoid 2004-02-08 23:42:09 +00:00
domainname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
echo - Check and report write(2) errors. 2003-10-11 20:34:43 +00:00
ed Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
expr Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
getfacl Grammar. 2003-02-23 01:43:45 +00:00
hostname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
kenv Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
kill Use sys_nsig instead of the static NSIG. DragonflyBSD kill.c:1.3 2004-01-28 19:04:14 +00:00
ln Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
ls Fixes to output of ls -lh for certain file sizes: 2004-03-01 19:25:27 +00:00
mkdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
mv Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
pax Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
ps style.Makefile: 2004-02-23 20:05:14 +00:00
pwd Rename a local variable in order to avoid collision with standard 'log' 2003-06-30 17:05:40 +00:00
rcp Turn malloc+snprintf into asnprintf. 2003-10-14 20:42:13 +00:00
realpath
rm o Fix a style bug and poor wording in comment. 2004-01-01 10:26:43 +00:00
rmail style.Makefile: 2004-02-23 20:05:14 +00:00
rmdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
setfacl Add additional documentation to setfacl(1) regarding the behavior of 2003-08-07 14:52:17 +00:00
sh style.Makefile: 2004-02-23 20:05:14 +00:00
sleep Fix warnings. This is now WARNS=9, std=c99 clean in i386. 2003-05-03 10:14:26 +00:00
stty Fix format warning. This is WARNS=9, std=c99 clean on i386. 2003-05-03 10:16:51 +00:00
sync Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
test Don't escape names in MLINKS: this won't work with bsd.man.mk,v 1.53. 2003-09-07 12:52:17 +00:00
uuidgen The uuidgen(1) program is WARNS=6 clean, so flag it as such. 2003-12-07 21:34:56 +00:00
Makefile - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00