1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.bin
Juli Mallett 1925cb245c Rewrite the loop that handles substitution in the -I case, and try to make
it easier to understand.  Making it easy to understand isn't all that easy,
so litter the code with comments so some other poor soul can come along some
day and work on this if they see fit to do so.  Avoid calling strlen(3) to
check for a nil-string, when we can just check for *str=='\0'.

Approved by:    src/tools/regression/usr.bin/xargs/
2002-05-03 17:05:25 +00:00
..
apply Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
ar Add .Pp before enumerating options 2002-04-19 23:18:18 +00:00
at mdoc(7) police: markup fixes. 2002-03-15 15:26:57 +00:00
awk Style. 2002-04-10 03:10:03 +00:00
banner remove __P 2002-03-22 01:22:50 +00:00
basename Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
biff Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
brandelf Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
bzip2 Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
c89 Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
calendar Don't use ISO_8859 when I should use ISO8859. 2002-04-29 20:57:36 +00:00
cap_mkdb Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
chat Remove GCC-specific flags. 2002-04-28 13:53:38 +00:00
checknr Use `The .Nm utility'. Introduce options with well known sentence. 2002-04-19 23:23:28 +00:00
chflags Reorder for style. 2002-04-28 13:54:45 +00:00
chkey Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
chpass Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
cksum remove __P 2002-03-22 01:22:50 +00:00
cmp remove __P 2002-03-22 01:22:50 +00:00
col Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
colcrt Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
colldef Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
colrm Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
column remove __P 2002-03-22 01:22:50 +00:00
comm Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
compile_et
compress Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
csplit Add the csplit(1) utility, which splits files based on context, as specified 2002-05-02 07:54:04 +00:00
ctags Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
cut Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
dig
dirname remove __P 2002-03-22 01:22:50 +00:00
dnskeygen
dnsquery
doscmd Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
du Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
ee Remove GCC-specific flags. 2002-04-28 13:58:41 +00:00
elf2aout Add a Makefile for this. 2002-04-22 04:08:01 +00:00
enigma Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
env remove __P 2002-03-22 01:22:50 +00:00
expand Add the -t option, which allows tab stop positions to be specified similarly 2002-04-23 07:15:09 +00:00
false Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fetch Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
file Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
file2c Modernize my email address 2002-03-25 13:53:46 +00:00
find Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
finger Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
fmt Very minor whitespace nit. 2002-04-28 13:59:42 +00:00
fold Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
from Introduce flags enumeration with standard 2002-03-26 12:15:31 +00:00
fstat Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
fsync Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ftp Connect lukemftp to the build as the default ftp client. Lukemftp 2001-12-13 23:46:44 +00:00
gcore Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
gencat Add FBSDID. Spelling. Remove unused includes. Check more malloc failures. 2002-03-26 12:39:08 +00:00
getconf
getopt Minor nit; return(foo) from main rather than exit(foo). 2002-04-28 14:04:24 +00:00
gprof Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
head Fix VCS tags; ANSIfy functions 2002-04-28 13:50:54 +00:00
hesinfo Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
hexdump Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
host
id remove __P 2002-03-22 01:22:50 +00:00
indent Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ipcrm Add some function prototypes to squash warnings. 2002-04-28 13:49:15 +00:00
ipcs Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
join Easy warns fixes; sort out some types and me them a bit more consistent; 2002-04-28 13:46:40 +00:00
jot Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
kdump I now don't seem to be able to reproduce the -DNOCLEAN buildworld 2002-04-11 14:49:32 +00:00
kenv Add a reference to the kenv(2) manpage. 2002-04-18 18:49:41 +00:00
keylogin Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
keylogout Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
killall Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ktrace Warnings fix; ANSIfy, constify, mark unused function parameter(s). 2002-04-28 13:00:16 +00:00
ktrdump Add a man page. 2002-04-02 04:26:37 +00:00
lam Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
last Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
lastcomm Use `The .Nm utility'. Add section number to .Xr. 2002-04-20 21:28:47 +00:00
ldd Warns; ANSIfy, constify and move declarations into a common header. 2002-04-28 12:55:35 +00:00
leave Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
less Update for less v371 2002-01-07 20:37:33 +00:00
lessecho
lesskey
lex Back out rev. 1.6 (NOLIB bootstrap helper) OBE'd by Makefile.inc1,v 1.96. 2002-03-28 10:53:49 +00:00
limits Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
locate remove __P 2002-03-22 01:22:50 +00:00
lock Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
lockf Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
logger .Nm is not required at the begining of this sentence. 2002-04-20 21:33:10 +00:00
login Don't use PAM_SILENT unless hushlogin is set (perforce change 10123) 2002-04-22 06:27:16 +00:00
logname remove __P 2002-03-22 01:22:50 +00:00
look Fix a const-char vs char issue. 2002-04-28 12:39:12 +00:00
lorder Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
lsvfs Very minor whitespace nit. 2002-04-28 12:36:56 +00:00
m4 Revert vendor identifiers, and #if 0 what is #if 0/#else for OpenBSD. 2002-05-03 14:48:21 +00:00
mail Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
make Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
makewhatis
mesg remove __P 2002-03-22 01:33:25 +00:00
minigzip Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mkdep Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mkfifo Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mklocale Declarations cleanup; make sure externs are in a common header. 2002-04-28 12:34:54 +00:00
mkstr warns fixes; ANSIfy, deregister, constify. 2002-04-28 12:28:41 +00:00
mktemp Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
msgs Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
mt Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ncal Easy warns fixes; constify. 2002-04-28 12:25:03 +00:00
ncplist Style fixes; whitespace and header order. 2002-04-28 12:21:31 +00:00
ncplogin Fix VCS inclusion and tidy up #includes. 2002-04-28 12:19:30 +00:00
netstat Cast to kill warnings. De-register. 2002-04-28 12:17:27 +00:00
newkey ANSIfy, VCS inclusions and some very minor style. 2002-04-28 12:09:33 +00:00
nfsstat remove __P 2002-03-22 01:33:25 +00:00
nice Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
nl remove __P 2002-03-22 01:33:25 +00:00
nm Fix some easy warnings; ANSIfy, constify. 2002-04-28 12:04:20 +00:00
nohup remove __P 2002-03-22 01:33:25 +00:00
objformat Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +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 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
passwd Fix VCS inclusions. 2002-04-28 11:52:43 +00:00
paste More low hanging warnings fruit; ANSIfy, de-register, constify. 2002-04-28 11:51:03 +00:00
pr Add P1003.1-2001 -f and -p options. 2002-03-31 18:44:36 +00:00
printenv Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
printf Handle numbers larger than QUAD_MAX for unsigned conversions correctly. 2002-04-25 01:10:11 +00:00
quota Fix some low-hanging fruit in the warnings department; ANSIfy functions, 2002-04-28 11:44:30 +00:00
ranlib ANSIfy functions, and move extern declarations into a shared header 2002-04-28 11:59:43 +00:00
renice o Fix an arguments number check in -n case. 2002-04-10 13:38:09 +00:00
rev remove __P 2002-03-22 01:33:25 +00:00
rlogin Easy warns fixes; use const, mark unused function parameters. Remove 2002-04-28 11:16:43 +00:00
rpcgen Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
rpcinfo Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
rs Use __FBSDID, ANSIfy functions, fix const string. 2002-04-28 11:00:34 +00:00
rsh Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
rup Style only; format function declarations, sort header includes, and 2002-04-28 10:49:15 +00:00
ruptime Use __FBSDID(), ANSIfy headings, use const/unsigned in minor but 2002-04-28 10:56:09 +00:00
rusers Trivial warnings fixes; staticise and use unsigned. 2002-04-28 11:13:20 +00:00
rwall Revert/fix the most controversial parts of the last commit: 2002-03-07 14:11:41 +00:00
rwho remove __P 2002-03-22 01:33:25 +00:00
sasc remove __P 2002-03-22 01:42:45 +00:00
script Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
sed Remove duplicated text. 2002-04-21 14:48:47 +00:00
shar
showmount remove __P 2002-03-22 01:42:45 +00:00
size Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
smbutil Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
sockstat Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
soelim Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
split remove __P 2002-03-22 01:42:45 +00:00
strings Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
strip Do not override the `install' target. 2002-04-29 10:28:11 +00:00
su Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
symorder remove __P 2002-03-22 01:42:45 +00:00
systat Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tail Fix up vendor IDs. 2002-04-13 20:59:48 +00:00
talk Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tconv Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tcopy Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tee remove __P 2002-03-22 01:42:45 +00:00
telnet Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
tftp Backout copyright notice I broke by my previous commit. 2002-04-26 12:16:34 +00:00
time remove __P 2002-03-22 01:42:45 +00:00
tip Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
top remove __P 2002-03-22 01:42:45 +00:00
touch remove __P 2002-03-22 01:42:45 +00:00
tput remove __P 2002-03-22 01:42:45 +00:00
tr remove __P 2002-03-22 01:42:45 +00:00
true Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
truncate remove __P 2002-03-22 01:42:45 +00:00
truss Do not bother with #include <machine/psl.h> since it is just a stub file 2002-05-01 06:23:48 +00:00
tset Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tsort Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
tty Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
uac Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ul Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
uname remove __P 2002-03-22 01:42:45 +00:00
unexpand Some minor nits exposed by the Open Group's VSC Lite verification suite: 2002-04-25 23:04:52 +00:00
unifdef Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
uniq Use LC_ALL to pick collate 2002-04-19 08:16:01 +00:00
units Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon. 2001-12-18 11:25:58 +00:00
unvis Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
usbhidctl Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
users Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
uudecode Use fwrite(3) to write out the decoded information, as the b64 decoding stuff 2002-04-20 03:33:40 +00:00
uuencode Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
vacation Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
vgrind Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
vi remove __P 2002-03-22 01:42:45 +00:00
vis Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
vmstat Remove malloc_type's ks_limit. 2002-04-15 04:05:53 +00:00
w remove __P 2002-03-22 01:42:45 +00:00
wall Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
wc remove __P 2002-03-22 01:42:45 +00:00
what remove __P 2002-03-22 01:42:45 +00:00
whereis
which Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
who remove __P 2002-03-22 01:42:45 +00:00
whois Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
window Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
write Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
xargs Rewrite the loop that handles substitution in the -I case, and try to make 2002-05-03 17:05:25 +00:00
xinstall Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
xlint Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
xstr Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
yacc Restore some of the original variable names, but fix the warnings their 2002-04-23 20:30:30 +00:00
yes Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ypcat Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ypmatch Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ypwhich Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
Makefile Add the csplit(1) utility, which splits files based on context, as specified 2002-05-02 07:46:36 +00:00
Makefile.inc Backout -Werror protection. No need to walk all over the upcoming 2002-02-06 18:13:12 +00:00