freebsd-dev/usr.bin
Hartmut Brandt 7007abaf14 Cleanup main(). Move catching SIGCHLD into job.c. Move unsetenv("ENV")
into job.c. Move retrieving of environment nearer to the place where it
is actually used and invert the preprocessor conditionals to use
positive logic.

Submitted by:	Max Okumoto <okumoto@ucsd.edu> (7.236)
2005-05-12 14:43:32 +00:00
..
alias Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
apply Sort sections. 2005-01-18 13:43:56 +00:00
asa Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
at Sort sections. 2005-01-18 13:43:56 +00:00
atm Fix build in the !NOATM case by using the begemot library in place of 2004-09-24 22:10:34 +00:00
awk
banner Document message length limit. 2005-01-25 22:24:04 +00:00
basename Sort sections. 2005-01-18 13:43:56 +00:00
biff Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
bluetooth Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
brandelf Make brandelf(1)'s -t "ABI format" case insensitive, as the ABI value 2005-05-02 17:19:33 +00:00
bzip2 Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
bzip2recover Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
c89 Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
c99 Fix off-by-one error. 2005-01-14 09:21:54 +00:00
calendar MFS revision 1.139.2.4 (add edwin) because I accidentally committed to 2005-04-18 01:36:17 +00:00
cap_mkdb Add endianness support to cap_mkdb(1), useful for cross builds. 2005-02-22 23:29:54 +00:00
catman Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
chat
checknr Document input line length limit. 2005-01-25 22:32:48 +00:00
chkey Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. 2004-11-13 20:40:32 +00:00
chpass Sort sections. 2005-01-18 13:43:56 +00:00
cksum Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
cmp
col Expand *n't contractions. 2005-02-13 22:25:33 +00:00
colcrt Expand *n't contractions. 2005-02-13 22:25:33 +00:00
colldef Make the format of LC_COLLATE files architecture independent. 2005-02-27 20:31:13 +00:00
colrm Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
column Take a swing at using roundup(). 2005-01-25 01:35:02 +00:00
comm Document input line length limit. 2005-01-25 22:32:48 +00:00
compile_et
compress Consistently use signed char so gcc4 won't complain 2005-05-02 10:23:03 +00:00
csplit Document input line length limit. 2005-01-25 22:32:48 +00:00
ctags Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
cut Sort sections. 2005-01-18 13:43:56 +00:00
dig Per style.Makefile(5), don't define MAN if the only page installed 2004-09-26 09:38:08 +00:00
dirname Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
du Remove unused variables. 2005-04-09 14:31:41 +00:00
ee Fix two cut'n'paste'os which violated format of NLS catalogs 2005-02-27 19:42:48 +00:00
elf2aout Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
elfdump Sort sections. 2005-01-18 13:43:56 +00:00
enigma Expand *n't contractions. 2005-02-13 22:25:33 +00:00
env Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
expand Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
false
fetch Expand *n't contractions. 2005-02-13 22:25:33 +00:00
file Expand contractions. 2005-02-13 23:45:54 +00:00
file2c
find Use rpmatch() instead of checking for responses that begin with 'y' 2005-04-02 07:44:12 +00:00
finger Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
fmt Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
fold Add cross-reference to fmt(1) and a fairly standard ENVIRONMENT section. 2004-08-02 11:15:01 +00:00
from
fstat Dike out another kvm indiscretion. 2005-03-16 10:24:16 +00:00
fsync Correct some style nits that I have mistakenly submitted as 2005-01-26 15:17:25 +00:00
ftp Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
gcore Remove a.out support from gcore(1). 2004-11-27 06:46:48 +00:00
gencat Fix build on sparc64. 2005-02-27 19:37:51 +00:00
getconf Support correct programming environment name for amd64. 2005-02-18 21:53:05 +00:00
getopt Expand *n't contractions. 2005-02-13 22:25:33 +00:00
gprof Expand *n't contractions. 2005-02-13 22:25:33 +00:00
head Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
hesinfo Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
hexdump Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
host Per style.Makefile(5), don't define MAN if the only page installed 2004-09-26 09:38:08 +00:00
id Add flag to choose whether to use getgrouplist(3) or getgroups(2) 2005-04-29 10:11:18 +00:00
indent Expand contractions. 2005-02-13 23:45:54 +00:00
ipcrm Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
ipcs Use 12 columns for (int) values, 20 columns for (long) and align 2005-03-08 13:14:46 +00:00
join Expand *n't contractions. 2005-02-13 22:25:33 +00:00
jot Sort sections. 2005-01-18 13:43:56 +00:00
kdump Update kdump manual page with information on the dump format. 2005-01-28 12:17:33 +00:00
keylogin Deal with double whitespace. 2004-07-03 00:24:45 +00:00
keylogout Removed unnecessary dependencies on librpcsvc. 2004-02-04 11:59:08 +00:00
killall Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ktrace Sort sections. 2005-01-18 13:43:56 +00:00
ktrdump Document the '-i' option which allows the user to specify a ktr events 2005-03-08 06:58:56 +00:00
lam Document incorrect handling of multibyte characters. 2004-08-12 11:34:34 +00:00
last Expand *n't contractions. 2005-02-13 22:25:33 +00:00
lastcomm Introduce options list the standard way. Correct style(9) in FILES section. 2004-07-26 19:59:29 +00:00
ldd The type of some aout header types changed to uint_32, so now we need 2004-06-29 21:13:15 +00:00
leave
less Restore old value of LESSKEYFILE_SYS. 2004-04-17 07:48:21 +00:00
lessecho Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
lesskey
lex NODOCCOMPRESS -> NO_DOCCOMPRESS 2004-12-21 09:33:47 +00:00
limits Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
locale Use the standard section name. 2005-01-18 20:54:50 +00:00
locate Expand *n't contractions. 2005-02-13 22:25:33 +00:00
lock Expand *n't contractions. 2005-02-13 22:25:33 +00:00
lockf Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
logger Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
login Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
logins Fix markup. 2004-03-06 23:36:41 +00:00
logname - Remove useless includes 2005-01-25 14:22:20 +00:00
look Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
lorder Deal with double whitespace. 2004-07-03 00:24:45 +00:00
lsvfs spell "file system" correctly 2005-01-24 20:06:16 +00:00
m4 Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
mail Bumped document date. 2004-05-19 09:51:31 +00:00
make Cleanup main(). Move catching SIGCHLD into job.c. Move unsetenv("ENV") 2005-05-12 14:43:32 +00:00
makewhatis Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
mesg Sort sections. 2005-01-18 13:43:56 +00:00
minigzip Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
ministat Add support for more than two datasets. Currently limited to 7 though 2005-04-13 05:50:56 +00:00
mkdep Sort sections. 2005-01-18 13:43:56 +00:00
mkfifo Sort sections. 2005-01-18 13:43:56 +00:00
mklocale Make the format of LC_CTYPE files architecture independent by 2005-02-26 21:47:54 +00:00
mkstr Fixed a misspelling of 0 as NULL. 2004-03-14 05:51:20 +00:00
mktemp Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
mkuzip - check for geom_uzip module presence using kldstat -m. 2005-05-11 17:02:38 +00:00
msgs Cleanup: 2005-01-17 17:45:38 +00:00
mt Don't refer to devices that don't exist. 2005-04-03 05:19:45 +00:00
nc Fix bugs in the previous commit. 2005-02-07 08:44:34 +00:00
ncal Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
ncplist
ncplogin Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
netstat Silence a warning on systems without carp(4). 2005-04-12 08:47:04 +00:00
newgrp Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
newkey Avoid usage of implicit int. 2005-02-07 21:42:16 +00:00
nfsstat Fix a few cases that relied on 'implicit int' (constraint violation in C99). 2004-07-11 17:37:33 +00:00
nice Sort sections. 2005-01-18 13:43:56 +00:00
nl Remove unused variables. 2005-04-09 14:31:41 +00:00
nohup Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
nslookup Per style.Makefile(5), don't define MAN if the only page installed 2004-09-26 09:38:08 +00:00
nsupdate Fix up the man file installation for the new BIND 9 sources: 2004-09-26 06:36:11 +00:00
objformat
opieinfo Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
opiekey
opiepasswd Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
pagesize
passwd Expand *n't contractions. 2005-02-13 22:25:33 +00:00
paste Sort sections. 2005-01-18 13:43:56 +00:00
pathchk Sort sections. 2005-01-18 13:43:56 +00:00
pkill Whitespace fixes. 2005-03-20 11:47:44 +00:00
pr Sort sections. 2005-01-18 13:43:56 +00:00
printenv Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
printf Update the bugs section, null characters in the format string are now handled. 2005-04-14 18:29:59 +00:00
quota Remove an unused #define. md5's with and without this commit match. 2005-03-13 17:58:31 +00:00
renice
rev If ferror is true, we must reset the error indicator. 2004-12-15 06:24:57 +00:00
rlogin Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
rpcgen back out 1.7 changes, unneeded and possibly wrong. 2005-02-10 10:44:29 +00:00
rpcinfo Fixed a misspelling of '\0' as NULL. 2004-03-11 10:22:25 +00:00
rs - Set negative row or column argument values to zero. 2005-04-28 12:37:15 +00:00
rsh Spell 1 as SHUT_WR in argument to shutdown(2). 2005-05-11 02:49:03 +00:00
rup Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
ruptime Expand *n't contractions. 2005-02-13 22:25:33 +00:00
rusers Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
rwall Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
rwho Expand *n't contractions. 2005-02-13 22:25:33 +00:00
script Deal with double whitespace. 2004-07-03 00:24:45 +00:00
sed Add option -l, to make output line buffered. 2005-05-10 13:40:50 +00:00
shar Sort sections. 2005-01-18 13:43:56 +00:00
showmount Sort sections. 2005-01-18 13:43:56 +00:00
smbutil Make smbfs capable to use 16bit char set in filenames. 2005-05-04 15:05:46 +00:00
sockstat Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
split Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
stat Note when 'stat' appeared in FreeBSD. 2005-03-28 04:02:45 +00:00
su Sort sections. 2005-01-18 13:43:56 +00:00
systat Include systat.h for cmdtab, to make gcc4 happy. 2005-05-02 10:50:10 +00:00
tabs Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
tail Don't skip the initialisation of tl->len when we hit an EOF immediately 2005-03-20 22:08:52 +00:00
talk Use socklen_t where appropriate. 2005-03-11 14:17:12 +00:00
tar Clarify some error messages. 2005-05-08 06:25:15 +00:00
tcopy Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tee Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
telnet NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
tftp Fix most cases where the address of an int is passed to a function expecting a 2005-02-14 17:42:58 +00:00
time Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
tip Use a proper protoype to declare interp() and move it to tip.h. Fix an 2004-05-06 13:25:09 +00:00
top Reduce the width of the THR column to 4 characters, to avoid wrap-around 2005-04-16 15:43:38 +00:00
touch Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tput Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tr Remove unused variables. 2005-04-09 14:31:41 +00:00
true
truncate Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
truss When doing the initial open of the proc via procfs, complain if we are 2005-03-27 12:53:25 +00:00
tset Expand *n't contractions. 2005-02-13 22:25:33 +00:00
tsort Document missing multibyte character support in utilities specified 2004-07-03 01:28:21 +00:00
tty Expand *n't contractions. 2005-02-13 22:25:33 +00:00
uac Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ul Sort sections. 2005-01-18 13:43:56 +00:00
uname Sort sections. 2005-01-18 13:43:56 +00:00
unexpand Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
unifdef Sync with upstream: 2005-03-08 12:52:00 +00:00
uniq Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
units Expand *n't contractions. 2005-02-13 22:25:33 +00:00
unvis
usbhidaction Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
usbhidctl Sort sections. 2005-01-18 13:43:56 +00:00
users
uudecode Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
uuencode Sort sections. 2005-01-18 13:43:56 +00:00
uuidgen Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
vacation
vgrind Add endianness support to cap_mkdb(1), useful for cross builds. 2005-02-22 23:29:54 +00:00
vi Replaced afterinstall: with equivalent FILES and SYMLINKS. 2004-10-18 17:16:01 +00:00
vis Expand *n't contractions. 2005-02-13 22:25:33 +00:00
vmstat Fix an overflow when calculating the number of kilobytes from the 2005-02-21 14:35:00 +00:00
w Expand *n't contractions. 2005-02-13 22:25:33 +00:00
wall Mention in the BUGS section that write and wall bogusly use the sender's 2004-07-17 04:15:27 +00:00
wc Fix mismerge. 2005-02-26 04:14:20 +00:00
what Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
whereis Remove unused variables. 2005-04-09 14:31:41 +00:00
which Require at least one argument. 2005-02-10 16:04:22 +00:00
who Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
whois Bump document date before ru gets me. 2004-12-11 13:14:54 +00:00
window Expand *n't contractions. 2005-02-13 22:25:33 +00:00
write Expand contractions. 2005-02-13 23:45:54 +00:00
xargs MFC 1.22: Fix -0 vs -L/-I processing, mainly so that 'xargs -0 -I []' will 2005-02-27 01:35:54 +00:00
xinstall Expand *n't contractions. 2005-02-13 22:25:33 +00:00
xlint Expand *n't contractions. 2005-02-13 22:25:33 +00:00
xstr Expand *n't contractions. 2005-02-13 22:25:33 +00:00
yacc Sort sections. 2005-01-18 13:43:56 +00:00
yes
ypcat
ypmatch
ypwhich Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
Makefile - check for geom_uzip module presence using kldstat -m. 2005-05-11 17:02:38 +00:00
Makefile.inc