1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.bin
Jeremie Le Hen dee6f001b8 Allow commands without any additional arguments, as stated in the
manpage.  While here, exit early when there is nothing to do.

PR:            168415
Submitted by:  Zhihao Yuan (initial version)
MFC after:     1 week
Approved by:   kib (mentor)
2013-01-14 11:03:13 +00:00
..
alias
apply Constify arguments. While I'm there, also add a static for usage(). 2013-01-04 23:44:22 +00:00
ar Mark bsdar_errc as __dead2 to help code analysis tools. 2012-10-22 02:12:06 +00:00
asa
at Check the return error of set[ug]id. While this can never fail in the 2012-10-22 03:31:22 +00:00
atf Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
atm
awk
banner
basename
bc Make definition match declaration 2012-11-15 15:06:00 +00:00
biff
bluetooth
bmake Merge bmake-20121111 2012-11-16 01:37:25 +00:00
brandelf Fix warning when compiling with gcc46: 2012-01-10 02:58:29 +00:00
bsdiff Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
bzip2
bzip2recover
c89
c99
calendar Use even more conventional conversion routines. 2012-12-13 02:21:05 +00:00
cap_mkdb
catman
chat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
checknr Mark global functions and/or variables in checknr(1) static where possible. 2011-11-06 18:49:03 +00:00
chkey Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
chpass Avoid possible null deref if ypclnt_new returns null 2012-11-15 15:06:18 +00:00
cksum More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
clang Upgrade our copy of llvm/clang to 3.2 release. 2012-12-23 13:04:00 +00:00
cmp
col
colcrt
colldef
colrm
column
comm Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
compile_et - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
compress Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
cpio Update libarchive to 3.0.4 2012-07-28 06:38:44 +00:00
cpuset
csplit
csup Fix conditional expression: previously a bitvector would be operated 2012-10-22 02:59:44 +00:00
ctags
ctlstat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
cut The is_delim function works on wchar_t characters not ints, update the 2012-11-24 04:15:25 +00:00
dc - Use BN_set_negative() and BN_is_negative() instead of subtracting or 2012-12-30 15:20:27 +00:00
dig
dirname
du New sentence, new line. 2012-11-04 09:27:01 +00:00
ee
elf2aout
elfdump More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
enigma Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
env
expand Mark global functions and/or variables in expand(1) static where possible. 2011-11-06 18:49:30 +00:00
false
fetch Fix bandwidth reporting when doing a restarted download with "-r". 2012-12-09 22:54:03 +00:00
file Update file(1) to version 5.11. 2012-04-19 03:20:13 +00:00
file2c
find Use .Nm instead of a self xref 2012-11-19 15:12:44 +00:00
finger More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
fmt
fold
from
fstat Bring DPADD in sync with LDADD. 2012-05-19 05:07:03 +00:00
fsync
ftp
gcore
gencat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
getconf
getent Teach getent(1) to look up a hostname and find IPv6 addresses. 2012-09-26 09:29:48 +00:00
getopt
gprof Fix resolving symbol names on ARM. 2012-05-25 06:48:42 +00:00
grep Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT". 2013-01-08 18:37:12 +00:00
gzip More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
head
hesinfo
hexdump mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
host
iconv
id Correct the change made in r227166. 2011-11-06 09:09:45 +00:00
indent Make struct fstate aligned to the same as an int as its pointer is cast to 2012-12-22 04:11:59 +00:00
ipcrm General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
ipcs Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
join Fix a typo that crept in. 2012-05-18 03:30:50 +00:00
jot Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
kdump kdump: Also decode fcntl commands containing underscores and digits. 2012-11-02 16:07:21 +00:00
keylogin
keylogout
killall Once in a month, when the moon is full, killall mistakenly considers 2012-06-30 16:36:22 +00:00
ktrace Don't trace or dump page fault records in the default set of tracepoints 2012-05-31 14:46:02 +00:00
ktrdump - Implement run-time expansion of the KTR buffer via sysctl. 2012-11-15 00:51:57 +00:00
lam Mark global functions and/or variables in lam(1) static where possible. 2011-11-06 18:49:41 +00:00
last Bump date missed in r202756 2012-09-14 17:50:42 +00:00
lastcomm Allow to specify strftime(3) format for process start end exit times. 2012-05-17 11:10:13 +00:00
ldd
leave
less Note that the manual page of less(1) says: 2012-12-03 21:49:37 +00:00
lessecho
lesskey
lex Correct double "the the" 2012-09-14 21:28:56 +00:00
limits General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
locale Sort options. 2012-11-17 23:52:38 +00:00
locate Give users a hint when their locate database is too small. 2012-12-10 02:26:01 +00:00
lock Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
lockf Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
logger Add missing const keywords. 2012-10-19 14:29:03 +00:00
login None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
logins Reencode files from latin1 to UTF-8. 2011-12-30 10:59:15 +00:00
logname
look
lorder
lsvfs
lzmainfo
m4 Add missing DPADD. 2013-01-01 18:25:14 +00:00
mail Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
make Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1). 2012-12-03 19:27:31 +00:00
makewhatis Currently the code uses gzFile * for a zlib file descriptor, which 2012-06-20 23:53:36 +00:00
man Minor mdoc improvements. 2012-06-03 11:09:51 +00:00
mandoc Merge mandoc from vendor into contrib and provide the necessary Makefile glue. 2012-10-19 22:21:01 +00:00
mesg
minigzip MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
ministat Add option to suppress just the plot in ministat while still retaining 2012-11-15 15:06:12 +00:00
mkcsmapper For mkcsmapper, conditionalize gcc-specific compile flags. 2012-11-14 18:51:12 +00:00
mkcsmapper_static
mkdep
mkesdb Ensure mkcsmapper and mkesdb compile with clang, if WITH_ICONV is 2012-09-11 16:32:31 +00:00
mkesdb_static
mkfifo
mklocale Fix world after byacc import: 2012-05-22 16:33:10 +00:00
mkstr
mktemp Use the macro for standard error return values. 2012-11-18 16:34:06 +00:00
mkulzma mdoc: document title should be all caps. 2012-03-25 19:34:05 +00:00
mkuzip
msgs Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
mt In usr.bin/mt/mt.c, the c_code member of struct commands should really 2011-12-17 02:23:30 +00:00
nc
ncal More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
ncplist Bump date missed in r202756 2012-09-14 17:50:42 +00:00
ncplogin General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
netstat Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel to 2012-11-17 20:19:00 +00:00
newgrp Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
newkey
nfsstat Document the "-m" option added by r243783. 2012-12-02 01:25:19 +00:00
nice
nl
nohup
nslookup
nsupdate
opieinfo
opiekey
opiepasswd
pagesize
pamtest Update to OpenPAM Micrampelis. 2012-05-26 17:10:16 +00:00
passwd Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined. 2012-11-27 16:23:12 +00:00
paste Mark global functions and/or variables in paste(1) static where possible. 2011-11-06 18:49:53 +00:00
pathchk
perror
pr Standardize EXIT STATUS instructions in man pages when possible. 2012-11-18 16:33:51 +00:00
printenv
printf POSIX requires that non-existent or null arguments be treated as if a 2012-12-18 21:02:38 +00:00
procstat procstat: only one mode flag can be specified, but required check for 'i' 2013-01-12 22:20:37 +00:00
quota
rctl Remove superfluous paragraph macro. 2012-12-04 09:02:49 +00:00
renice
rev
revoke
rlogin More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rpcgen More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rpcinfo Cleanup use of 'host' when running 'rpcinfo -p'. 2012-08-18 16:14:50 +00:00
rs
rsh None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
rup
ruptime
rusers
rwall
rwho
script Add "-f" to also output filemon(4) information. 2012-10-26 15:56:28 +00:00
sed Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
seq Standardize EXIT STATUS instructions in man pages when possible. 2012-11-18 16:33:51 +00:00
setchannel Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
shar
showmount
smbutil
sockstat Update the usage with the new jail option. 2012-06-27 23:26:32 +00:00
sort - Change the memory heuristics to an actually working one 2012-12-20 22:30:40 +00:00
split Fix warning when compiling with gcc46: 2012-01-10 02:55:43 +00:00
ssh-copy-id Add examples to the ssh-copy-id script. 2012-11-13 13:06:57 +00:00
stat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
stdbuf Allow commands without any additional arguments, as stated in the 2013-01-14 11:03:13 +00:00
su
systat Make systat(1) accept fractional number of seconds. 2012-09-17 13:36:47 +00:00
tabs
tail Use calloc() to get zeroed memory. 2013-01-08 22:14:45 +00:00
talk Bump date missed in r202756 2012-09-14 17:50:42 +00:00
tar Update libarchive to 3.0.4 2012-07-28 06:38:44 +00:00
tcopy Add missing static keywords to tcopy(1) 2011-11-06 08:17:29 +00:00
tee Reverting last change r231449 (fix bin/164947) due to concerns voiced 2012-02-11 16:34:03 +00:00
telnet
tftp More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
time time: Use close-on-exec instead of fclose() in the child process. 2012-12-08 17:41:39 +00:00
tip A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
top Use the correct size when allocating the cmdbuf string. 2012-11-19 08:03:40 +00:00
touch touch: Add the -d option from POSIX.1-2008. 2012-06-10 14:26:51 +00:00
tput
tr mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
true
truncate
truss - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
tset More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
tsort Add missing static keywords to tsort(1) 2011-11-06 08:17:47 +00:00
tty
ul Fix a signed/unsigned comparison when wchar_t is unsigned by casting the 2013-01-06 03:08:27 +00:00
uname Add missing static keywords to uname(1) 2011-11-06 08:17:59 +00:00
unexpand Add missing static keywords to unexpand(1) 2011-11-06 08:18:05 +00:00
unifdef Remove superfluous paragraph macro. 2012-03-25 09:19:25 +00:00
uniq Add missing static keywords to uniq(1) 2011-11-06 08:18:11 +00:00
units mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
unvis
unzip Remove contractions. 2012-10-07 20:01:41 +00:00
usbhidaction Add missing static keywords to usbhidaction(1) 2011-11-06 08:18:23 +00:00
usbhidctl Fix style nit: don't use leading zero for dates in .Dd 2012-06-05 03:14:39 +00:00
users Bump date missed in r202756 2012-09-14 17:50:42 +00:00
uudecode
uuencode Prefer an example users born after myself might use. 2012-10-26 15:21:23 +00:00
vacation Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
vgrind mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
vi
vis Add missing static keywords to vis(1) 2011-11-06 08:18:42 +00:00
vmstat Garbage collect defunct nlist(3) symbols. 2012-03-22 09:47:14 +00:00
w Fix whitespace. 2012-11-17 16:47:05 +00:00
wall Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
wc Add missing static keywords to wc(1) 2011-11-06 08:19:00 +00:00
what
whereis Reencode files from latin1 to UTF-8. 2011-12-30 10:59:15 +00:00
which Mark global functions and/or variables in which(1) static where possible. 2011-11-06 18:50:26 +00:00
who Remove contractions. 2012-10-07 20:01:41 +00:00
whois General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
write Fix write(1) to support wide characters. 2012-02-13 14:40:15 +00:00
xargs Follow calloc convention in other code, this is functionally identical 2013-01-05 00:23:58 +00:00
xinstall Implement the -N <dbdir> option which allows an alternate passwd and 2013-01-11 20:53:28 +00:00
xlint Remove clause 3 and 4 from the NetBSD Foundation copyright header, missed 2012-09-09 07:23:15 +00:00
xstr Mark global functions and/or variables in xstr(1) static where possible. 2011-11-06 18:50:39 +00:00
xz
xzdec
yacc Import byacc from invisible island, it brings us lots of compatibilities with 2012-05-21 13:31:26 +00:00
yes yes(1) actually comes from V7. 2012-09-17 23:04:15 +00:00
ypcat
ypmatch
ypwhich
Makefile Add a clean-room reimplementation of a script originally 2012-10-22 03:57:00 +00:00
Makefile.amd64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.arm
Makefile.i386 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.ia64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.inc
Makefile.powerpc Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
Makefile.sparc64 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00