freebsd-dev/usr.bin
des 466717b039 Apply the following mechanical transformations in preparation for
ansification and constification:

    s{\s+__P\((\(.*?\))\)}{$1}g;
    s{\(\s+}{\(}g;
    s{\s+\)}{\)}g;
    s{\s+,}{,}g;
    s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
    s{return ([^\(].*?);}{return ($1);}g;
    s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
    s{\s+$}{\n};g

Also add $FreeBSD$ where needed.

MFC after:	1 week
2002-02-06 13:30:31 +00:00
..
apply Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
ar Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
at o Remove the -V [version number] option, since our version of at(1) no 2002-01-22 03:04:15 +00:00
awk Switch to the One True AWK from Bell-Labs, away from GNU AWK. 2001-10-30 08:56:50 +00:00
banner Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
basename Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
biff Start option definition with: ``The following options are available'' 2001-12-12 18:22:09 +00:00
brandelf Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
bzip2 Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
c89 Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
calendar Add some missing years, fix Bach's birthday entry. 2002-01-07 13:35:31 +00:00
cap_mkdb Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
chat Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
checknr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
chflags Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
chkey Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
chpass Apply the following mechanical transformations in preparation for 2002-02-06 13:30:31 +00:00
cksum WARNS=2 fixup. 2001-12-02 12:54:40 +00:00
cmp Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
col Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
colcrt Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
colldef Replace -I${.OBJDIR} with -I. and split the CFLAGS line up into two lines. 2002-01-08 11:08:20 +00:00
colrm Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
column Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
comm Use LC_ALL to pick LC_COLLATE too (for strcoll()) 2001-12-30 19:30:10 +00:00
compile_et Build this from contrib/ now. 1999-09-04 09:52:36 +00:00
compress Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
ctags mdoc(7) police overhaul. 2001-12-14 09:48:03 +00:00
cut WARNS=2 and -Wall are not both needed. (The second is a subset of the 2001-12-03 00:16:52 +00:00
dig Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
dirname Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
dnskeygen MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
dnsquery Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
doscmd WARNS=2 fixup 2001-12-02 13:48:40 +00:00
du WARNS=2 fixup 2001-12-02 13:48:40 +00:00
ee FILES support for bsd.prog.mk. See bsd.README for details. 2001-12-17 13:59:35 +00:00
enigma Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
env Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$ 2001-06-30 05:39:36 +00:00
expand mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
false WARNS=2 fixup. 2001-12-02 13:55:09 +00:00
fetch Document fetch(1) reaction to SIGINFO. 2002-01-16 16:16:08 +00:00
file Install files via FILES. 2001-12-17 16:02:15 +00:00
file2c Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
find Add a missing comma. 2001-11-20 15:45:29 +00:00
finger Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
fmt Don't format lines that look like troff requests, for 2002-01-11 19:06:48 +00:00
fold Make clear that -w gets an argument. Add __FBSDID and remove unused 2001-12-12 18:25:53 +00:00
from Fix two minor grammar mistakes. 2001-11-19 09:01:43 +00:00
fstat Add support for devfs. In other words, for -CURRENT, make work at all 2001-12-17 13:42:46 +00:00
fsync MFS: in HISTORY section, fix release number of first appearance 2001-08-01 12:15:21 +00:00
ftp Connect lukemftp to the build as the default ftp client. Lukemftp 2001-12-13 23:46:44 +00:00
gcore Removed unused include of kernel-only file <sys/lock.h>. 2001-10-13 04:54:03 +00:00
gencat Fix grammar in AUTHORS section. 2001-11-23 14:37:27 +00:00
getconf mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
getopt Warns cleanup (just make main return an int). 2001-12-03 20:57:49 +00:00
gprof Oops, forgot to remove the `beforeinstall' block. 2001-12-17 16:04:40 +00:00
gprof4 Add -K support to gprof(1), which enables dynamic symbol resolution from 2001-10-30 15:54:09 +00:00
head Make usage message and man page synopsis reflect the fact that -n 2002-01-24 22:27:50 +00:00
hesinfo Warns cleanup. 2001-12-03 20:58:56 +00:00
hexdump WARNS=2 fixups. 2001-12-02 12:09:41 +00:00
host Use libbind to get to the extended resolver and headers. 1999-11-30 06:25:19 +00:00
id Fold groups(1) and whoami(1) into id(1). 2001-09-14 14:04:08 +00:00
indent Make this compile cleanly when warnings are enabled: 2001-10-28 18:35:32 +00:00
ipcrm Warns cleanups: 2001-12-03 21:00:33 +00:00
ipcs Include missing header files which define functions for which gcc has 2001-06-24 19:50:42 +00:00
join mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
jot Actually, arc4random() returns a uint32_t, not an int. Use the correct 2001-11-08 22:01:35 +00:00
kdump Really fix this work to work. While rev 1.24 did allow awk to run w/o 2001-11-01 02:16:10 +00:00
kenv Deuglify the usage message by putting the program name after the 2001-11-15 15:46:45 +00:00
keylogin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
keylogout Include missing header files which define functions for which gcc has 2001-06-24 19:41:18 +00:00
killall killall operates on all processes owned by the real uid, not the 2001-11-30 00:30:28 +00:00
ktrace Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
lam Cross-reference between lam(1) and paste(1). Add a STANDARDS section to 2001-09-21 02:51:07 +00:00
last I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
lastcomm Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ldd Allow ldd(1) be used on shared libraries in addition to executables. 2002-02-04 10:33:48 +00:00
leave Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
less Update for less v371 2002-01-07 20:37:33 +00:00
lessecho Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated 2000-06-03 11:39:38 +00:00
lesskey MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
lex ``recognized -> recognize'' where appropriate. 2001-08-23 21:13:31 +00:00
limits Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
locate A global is used even though the value is 2002-01-01 21:16:10 +00:00
lock Warns cleanups: 2001-12-03 21:01:52 +00:00
lockf Warns cleanups. 2001-12-03 21:07:23 +00:00
logger The default for -p was ``kern.notice'' in the -h case. 2001-09-06 12:48:44 +00:00
login Still with asbestos longjohns on, completely PAMify login(1) and remove 2002-01-30 19:10:21 +00:00
logname Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
look Warns cleanup - not ready for WARNS=2 yet. 2001-12-03 21:04:50 +00:00
lorder beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lsvfs Silence warning and set WARNS=2. 2001-06-24 18:56:00 +00:00
m4 Remove the local basename in favor of the libc version. 2001-07-24 14:09:47 +00:00
mail Show arguments of command line options 2002-01-22 19:49:48 +00:00
make Make substitutions in internal macros like $(@F:.o=.c) work. 2002-01-12 10:45:27 +00:00
makewhatis mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
mesg Add xref to wall(1). 2001-11-20 15:39:58 +00:00
minigzip Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkdep Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkfifo mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
mklocale Initialize fp in main() 2001-08-13 21:57:12 +00:00
mkstr Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
mktemp Warns cleanups. 2001-12-03 21:07:23 +00:00
msgs File positions are off_t nowdays, not long, so: 2001-09-03 04:30:46 +00:00
mt mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
ncal Remove gcc specific compiler flags, at least one of which doesn't work with 2002-01-08 08:53:12 +00:00
ncplist mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ncplogin Warns cleanups. 2001-12-03 21:07:23 +00:00
netstat Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
newkey Turn on WARNS=2. this compiles cleanly. 2001-12-02 23:09:09 +00:00
nfsstat Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
nice Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
nl Fix typo. 2001-11-24 21:22:16 +00:00
nm Expland the emalloc to do the testing at the place of mallocing. 2001-07-24 14:08:02 +00:00
nohup Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
objformat Warns cleanups. Don't use gccism -Wall. 2001-12-03 21:13:03 +00:00
opieinfo Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiekey Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiepasswd Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
pagesize mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
passwd Apply the following mechanical transformations in preparation for 2002-02-06 13:30:31 +00:00
paste Cross-reference between lam(1) and paste(1). Add a STANDARDS section to 2001-09-21 02:51:07 +00:00
pr Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly used 2001-09-21 02:57:56 +00:00
printenv Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
printf Replace reference to ANSI C draft with standard. 2002-01-16 14:55:18 +00:00
quota Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
ranlib mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
renice Warns cleanups. 2001-12-03 21:27:45 +00:00
rev Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
rlogin Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rpcgen Have rpcgen output the prototypes for the dispatch tables 2001-11-13 11:08:29 +00:00
rpcinfo The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacks 2002-02-05 19:26:04 +00:00
rs Do not overrun entry array when printing output tables. 2001-09-10 15:09:12 +00:00
rsh Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rup If the remote uptime is less than one minute, print the uptime in 2001-10-17 01:44:34 +00:00
ruptime Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rusers I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
rwall mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rwho I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
sasc Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
script Minor style stuff, use __FBSDID(), remove to-be-default WARNS=2. 2001-12-12 23:23:52 +00:00
sed WARNS=2 partial fix; use NO_WERROR to protect against some hard-to-fix warnings. 2001-12-12 23:20:16 +00:00
shar mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
showmount Warns cleanups. This makes the showmount code warns clean, but some 2001-12-03 21:25:28 +00:00
size Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
smbutil Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
sockstat Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
soelim Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
split Add -a option (SUSv3) to split(1). 2002-02-01 06:55:18 +00:00
strings Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
strip Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
su Don't set PAM_RHOST, this is a local login. 2002-01-24 16:20:17 +00:00
symorder WARNS=2 fixes, Use __FBSDID(), kill register keyword. 2001-12-12 23:02:30 +00:00
systat WARNS=2 fixes with NO_WERROR set, as there are some header issues 2001-12-12 00:13:37 +00:00
tail WARNS=2 fixes, use __FBSDID(). 2001-12-12 00:01:16 +00:00
talk WARNS=2 fixes with NO_WERROR set because of system-header originating 2001-12-11 23:51:14 +00:00
tconv Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tcopy Fix the time of an intmax_t calculation; it is unsigned. Also print 2001-12-12 22:46:56 +00:00
tee Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
telnet Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tftp Argh...argv->argc 2002-01-04 13:46:57 +00:00
time Fix one warning - still not warns clean. 2001-12-03 21:32:01 +00:00
tip Fix merge conflicts, and because this still has a zillion warnings, 2001-12-20 14:25:46 +00:00
top Add new option HAVE_STRERROR to CFLAGS. 2002-01-24 17:59:39 +00:00
touch WARNS=2 is going to be the default, so don't specify it. Use __FBSDID(). 2001-12-11 23:38:24 +00:00
tput Silence some WFORMAT=1 warnings 2002-02-04 02:37:09 +00:00
tr WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:36:25 +00:00
true Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
truncate Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
truss Print open(2) flags in hex instread of decimal for clarity. 2001-12-30 23:11:52 +00:00
tset WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:29:45 +00:00
tsort Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tty Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
uac Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ul WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
uname mdoc(7) police: bump document date for the -p change, tidy up the markup. 2002-01-17 10:38:32 +00:00
unexpand WARNS=2 is to become the default, so remove. Use __FBSDID(). 2001-12-11 23:18:25 +00:00
unifdef WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:20:23 +00:00
uniq WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
units Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon. 2001-12-18 11:25:58 +00:00
unvis WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
usbhidctl WARNS=2 fixes. 2001-12-11 23:25:13 +00:00
users WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
uudecode Add -o option (POSIX.1-2001) to uudecode(1). Deprecate the -p option 2002-01-27 18:21:23 +00:00
uuencode Add -o option (POSIX.1-2001) to uudecode(1). Deprecate the -p option 2002-01-27 18:21:23 +00:00
vacation Protect this from the coming WARNS=2 default. 2001-12-11 23:12:44 +00:00
vgrind Install files via FILES. 2001-12-17 16:02:15 +00:00
vi Protect this against the to-come WARNS=2 default. 2001-12-11 23:05:06 +00:00
vis WARNS=2 fix, add externs.h to centralise external prototypes, 2001-12-11 23:02:44 +00:00
vmstat WARNS=2 fixes, but set NO_WERROR, as there are some HardToFix(tm) 2001-12-11 22:59:36 +00:00
w WARNS=2 fix, use __FBSDID() and sort includes. 2001-12-11 22:18:47 +00:00
wall WARNS=2 fix, use __FBSDID(). 2001-12-11 22:22:15 +00:00
wc WARNS=2 fix, use __FBSDID(). 2001-12-11 22:23:53 +00:00
what Use __FBSDID(). remove WARNS=2 as this is going to be default. 2001-12-11 22:25:43 +00:00
whereis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
which Use FBSDID(), WARNS=2 fix. 2001-12-11 22:27:26 +00:00
who WARNS=2 fix, use __FBSDID(). 2001-12-11 22:29:53 +00:00
whois Mark a function as __printflike() 2002-02-04 02:12:49 +00:00
window Fixed bitrot in DPADD in rev.1.8. 2001-12-29 14:03:03 +00:00
write WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:34:38 +00:00
xargs WARNS=2 fixes, remove register keyword, use __FBSDID() 2001-12-11 22:36:26 +00:00
xinstall xinstall is part of the upgrade path for 4.4-RELEASE as well. 2001-12-19 06:05:42 +00:00
xlint WARNS=2 fixes. 2001-12-11 22:52:36 +00:00
xstr WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:54:36 +00:00
yacc WARNS=2 fix, but do not set this im Makefile, because this ill be the 2001-12-11 22:13:02 +00:00
yes Remove WARNS=2 as this is to become default. 2001-12-11 22:56:05 +00:00
ypcat Apply the following mechanical transformations in preparation for 2002-02-06 13:30:31 +00:00
ypmatch Apply the following mechanical transformations in preparation for 2002-02-06 13:30:31 +00:00
ypwhich Apply the following mechanical transformations in preparation for 2002-02-06 13:30:31 +00:00
Makefile Re-enable tip, now that the import and merge are done. 2001-12-20 14:27:23 +00:00
Makefile.inc Protect "make world", as I am doing some (potentially) dangerous 2001-12-02 23:10:57 +00:00