1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/usr.bin
Doug Barton 5b812a140d A cooperative effort...
1. Update the code to the latest from NetBSD, which includes:
* A new command line option to suppress stat(2) errors
* Output is now done via stdio
* Fixes for bitwise OR'ing of letters

2. Andrew from NetBSD merged in our own Johan's readlink patches.

3. Andrew also merged in some brucifications.

I made some small contributions to the header cleanup, and tried
to generally improve the overall style(9)'ishness. I also documented
the new -q option and added the *LINKS to the Makefile.

All responsibility for mistakes in merging the contributions
from the above is mine.

Obtained from:	Andrew Brown <atatat@NetBSD.org>, bde, johan
2002-08-13 08:23:49 +00:00
..
alias Fix installworld. 2002-07-17 15:35:31 +00:00
apply WARNS=4 2002-07-14 18:23:22 +00:00
ar WARNS=4 2002-07-14 18:23:22 +00:00
asa mdoc(7) police: minor markup nits. 2002-05-30 13:33:59 +00:00
at - Use MAXLOGNAME - 1 instead of UT_NAMESIZE. 2002-07-22 11:32:16 +00:00
awk
banner
basename Make it possible to have this (basename(1)) perform basename(3) on multiple 2002-06-30 13:40:35 +00:00
biff style(9): - Put a space after the 'return' keyword. 2002-07-24 18:54:59 +00:00
brandelf Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
bzip2
c89
calendar Remove Australia from list of locations supposedly having a bank 2002-08-05 23:54:22 +00:00
cap_mkdb ANSIify function definitions to avoid a warning. 2002-07-28 14:41:26 +00:00
catman mdoc(7) police: tidy up. 2002-05-30 13:39:43 +00:00
chat Revert last commit. Sorry for breaking things 2002-07-22 21:45:16 +00:00
checknr ANSIify function definitions to avoid a warning. 2002-07-28 14:55:59 +00:00
chflags
chkey ANSIify function definitions to avoid some warnings. 2002-07-28 15:02:24 +00:00
chpass Consistently use FBSDID 2002-06-30 05:25:07 +00:00
cksum ANSIify function definitions to avoid a warning. 2002-07-28 15:13:17 +00:00
cmp ANSIify function definitions to avoid a warning. 2002-07-28 15:13:17 +00:00
col Sort options in Description section. 2002-06-04 09:17:30 +00:00
colcrt
colldef ANSIify function definitions to avoid a warning. 2002-07-28 15:20:10 +00:00
colrm ANSIify function definitions to avoid a warning. 2002-07-28 15:22:43 +00:00
column ANSify function definitions to avoid a warning. 2002-07-28 15:25:15 +00:00
comm ANSIify function definitions to avoid a warning. 2002-07-28 15:28:38 +00:00
compile_et
compress ANSIify function definitions to avoid a warning. 2002-07-28 15:32:17 +00:00
csplit The return value of snprintf should be always nonnegative, so it should 2002-07-28 15:41:15 +00:00
ctags ANSIify function definitions to avoid a warning. 2002-07-28 15:50:38 +00:00
cut Revert previous delta for cut(1) and calendar(1) as they were not applied 2002-07-23 15:09:56 +00:00
dig
dirname ANSIify function definitions to avoid a warning. 2002-07-28 15:50:38 +00:00
dnskeygen
dnsquery
doscmd Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
du ANSIify function definitions to avoid a warning. 2002-07-28 15:50:38 +00:00
ee Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk. 2002-07-02 12:37:09 +00:00
elf2aout Set NO_WERROR to ignore the following warning which is emitted on 2002-07-11 18:06:09 +00:00
enigma Consistently use FBSDID 2002-06-30 05:25:07 +00:00
env Discourage use of env(1)'s "-" flag by moving its description to the 2002-06-28 09:23:39 +00:00
expand Consistently use FBSDID 2002-06-30 05:25:07 +00:00
false Consistently use FBSDID 2002-06-30 05:25:07 +00:00
fetch fetch(1) is WARNS-5 clean (tested on i386 and Alpha) 2002-07-28 21:09:57 +00:00
file
file2c Consistently use FBSDID 2002-06-30 05:25:07 +00:00
find - Introduce a new struct xvfsconf, the userland version of struct vfsconf. 2002-08-10 20:19:04 +00:00
finger add -4 and -6 option to be able to specify an address family. 2002-07-22 17:19:54 +00:00
fmt Consistently use FBSDID 2002-06-30 05:25:07 +00:00
fold Only advance the column position for printable characters, update manual 2002-06-17 12:11:05 +00:00
from Fix last hard sentence break. 2002-07-15 06:15:38 +00:00
fstat Consistently use FBSDID 2002-06-30 05:25:07 +00:00
fsync Consistently use FBSDID 2002-06-30 05:25:07 +00:00
ftp Update for lukemftp-1.6-beta2. 2002-06-15 09:42:17 +00:00
gcore Consistently wrap CSRG SCM ID. 2002-06-30 09:24:25 +00:00
gencat Use mkstemp(3) to avoid /tmp race. 2002-05-29 14:23:10 +00:00
getconf Support POSIX ``programming environment'' mistake. 2002-07-15 22:51:24 +00:00
getopt Consistently use FBSDID 2002-06-30 05:25:07 +00:00
gprof Consistently use FBSDID 2002-06-30 05:25:07 +00:00
head Remove duplicate __FBSDID() - spotted by trying to build with a non-GNU 2002-07-23 14:39:20 +00:00
hesinfo Consistently use FBSDID 2002-06-30 05:25:07 +00:00
hexdump s/inline/__inline/ 2002-07-19 14:12:27 +00:00
host
id Consistently use FBSDID 2002-06-30 05:25:07 +00:00
indent Consistently use FBSDID 2002-06-30 05:25:07 +00:00
ipcrm Consistently use FBSDID 2002-06-30 05:25:07 +00:00
ipcs Consistently use FBSDID 2002-06-30 05:25:07 +00:00
join Consistently use FBSDID 2002-06-30 05:25:07 +00:00
jot Don't depend on pollution in <limits.h> for the definition of 2002-07-05 15:58:27 +00:00
kdump Improve WARNS situation for kdump: 2002-07-28 16:05:07 +00:00
kenv Consistently use FBSDID 2002-06-30 05:25:07 +00:00
keylogin Consistently use FBSDID 2002-06-30 05:25:07 +00:00
keylogout Consistently use FBSDID 2002-06-30 05:25:07 +00:00
killall s/progname/procname/ to be consistent with the other occurrences 2002-07-15 11:33:30 +00:00
ktrace Consistently use FBSDID 2002-06-30 05:25:07 +00:00
ktrdump The .Nm utility 2002-07-14 15:12:00 +00:00
lam Back out my minorly disputed and possibly not well thought out changes to how 2002-07-01 18:03:30 +00:00
last s/A last utility last appeared/A last utility appeared/ (horikawa). 2002-07-21 12:45:54 +00:00
lastcomm Consistently use FBSDID 2002-06-30 05:25:07 +00:00
ldd Fix a tiny bug in shlib support of ldd(1); if dlopen(lib, RTLD_TRACE) 2002-05-17 17:06:56 +00:00
leave Consistently use FBSDID 2002-06-30 05:25:07 +00:00
less
lessecho
lesskey
lex Consistently use FBSDID 2002-06-30 05:25:07 +00:00
limits Consistently use FBSDID 2002-06-30 05:25:07 +00:00
locate Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
lock Add a -v option that prevents switching virtual terminals while this 2002-07-28 07:13:53 +00:00
lockf Consistently use FBSDID 2002-06-30 05:25:07 +00:00
logger Consistently use FBSDID 2002-06-30 05:25:07 +00:00
login Don't reuse a const char * when we really want a char *. 2002-07-28 16:17:38 +00:00
logname Consistently use FBSDID 2002-06-30 05:25:07 +00:00
look Consistently use FBSDID 2002-06-30 05:25:07 +00:00
lorder
lsvfs Add #include <sys/sysctl.h>. In my tree, mount.h includes 2002-08-11 02:07:43 +00:00
m4 Kill extraneous whitespace. 2002-07-15 02:15:12 +00:00
mail Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
make main.c:450: warning: `targs' might be used uninitialized in this function 2002-08-11 11:10:43 +00:00
makewhatis The .Nm utility 2002-07-14 15:12:00 +00:00
mesg Give an example showing how to change the mesg status of terminals 2002-07-25 05:16:49 +00:00
minigzip
mkdep
mkfifo Consistently use FBSDID 2002-06-30 05:25:07 +00:00
mklocale WARNS=4 2002-07-14 18:23:22 +00:00
mkstr
mktemp Use proper article. 2002-07-16 05:38:26 +00:00
msgs mdoc style: break up sentences 2002-07-15 07:16:54 +00:00
mt Add definitions for the industry-standard DLT density codes. 2002-07-09 11:26:09 +00:00
ncal Correct History: cal(1) appeared in V5, not V6. 2002-06-03 15:02:02 +00:00
ncplist
ncplogin
netstat Widen struct sockbuf's sb_timeo member to int from short. With 2002-07-24 03:02:43 +00:00
newgrp mdoc(7) police: one minor change that was not probably worth a commit. 2002-05-30 13:57:35 +00:00
newkey The .Nm utility 2002-07-14 15:12:00 +00:00
nfsstat
nice Document the fairly obvious effect of the PATH environment variable. 2002-06-23 11:49:08 +00:00
nl The XCU issue 5 requirement of accepting the file operand intermingled 2002-05-27 06:53:54 +00:00
nm
nohup WARNS=4 2002-07-14 18:23:22 +00:00
objformat
opieinfo
opiekey
opiepasswd
pagesize
passwd
paste Fix typos; each file has at least one s/seperat/separat/ 2002-08-11 13:05:30 +00:00
pathchk When stat(2) fails, put the name of the component it failed on in the 2002-06-10 10:03:46 +00:00
perl Install a "perl5.6.1" wrapper. I think this is going too far as now 2002-06-07 18:55:42 +00:00
pr Make egetopt() return -1 not EOF, as getopt(3) do. 2002-06-23 20:42:30 +00:00
printenv Document the fairly obvious effects of the PATH environment variable. 2002-06-28 09:31:03 +00:00
printf Kill excessive whitespace between macro arguments. 2002-07-15 07:35:36 +00:00
quota Add a new flag (-l) that suppresses quota checks on NFS filesystems. 2002-08-09 00:53:00 +00:00
ranlib
renice The .Nm utility 2002-07-14 15:12:00 +00:00
rev
rlogin Use POSIX macros for wait(2)-style status information instead of the 2002-06-03 23:13:11 +00:00
rpcgen Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc, 2002-07-21 12:55:04 +00:00
rpcinfo
rs Contrary to what the comments said, rs -H did not recycle storage, it just 2002-06-07 07:08:06 +00:00
rsh
rup
ruptime
rusers
rwall
rwho Modernise; ISOify, use __FBSDID(), use headers instead of hand-declaring. 2002-07-01 16:40:33 +00:00
sasc
script Use POSIX macros for wait(2)-style status information instead of the 2002-06-03 23:13:11 +00:00
sed Correct boundary condition error in D' and P' commands when the last 2002-08-11 09:53:44 +00:00
shar
showmount The .Nm utility 2002-07-14 15:12:00 +00:00
size
smbutil
sockstat Use a cast to `void *' before casting to a pointer to a structure 2002-08-02 11:57:59 +00:00
soelim
split Support larger files (at least 64-bit offsets) by using off_t instead of 2002-07-15 05:31:55 +00:00
stat A cooperative effort... 2002-08-13 08:23:49 +00:00
strings
strip Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
su Fix typing error in prev. commit 2002-08-12 17:24:42 +00:00
symorder
systat Widen struct sockbuf's sb_timeo member to int from short. With 2002-07-24 03:02:43 +00:00
tabs Note that this appeared at least as early as PWB UNIX. 2002-06-10 22:59:59 +00:00
tail revert WARNS=4, it makes the alpha compile sad. 2002-07-15 09:53:34 +00:00
talk mdoc fun: add a few more sentence breaks. 2002-07-15 07:51:10 +00:00
tconv
tcopy
tee Use err instead of errx when malloc fails. "malloc" is not a helpful 2002-07-05 09:28:13 +00:00
telnet Typo fixo: imbedded => embedded 2002-07-13 22:47:40 +00:00
tftp mdoc(7) police: markup nits. 2002-05-30 06:18:53 +00:00
time Document the fairly obvious effects of the PATH environment variable. 2002-06-28 09:31:03 +00:00
tip Merge from import. The import was done ages ago, and this diff has been 2002-07-19 14:10:35 +00:00
top
touch Handle directories correctly. 2002-07-23 04:54:57 +00:00
tput Sort sections. 2002-06-15 08:41:12 +00:00
tr When translating and -C is specified, behave as if the complemented set was 2002-07-29 23:42:00 +00:00
true A function which takes no arguments has an argument list spelled (void) in the 2002-06-20 05:35:40 +00:00
truncate
truss Remove an unnecessary cast. 2002-08-07 11:35:18 +00:00
tset
tsort Style nit: group together optional flags under the one Fl macro. 2002-06-07 01:17:54 +00:00
tty A space between switch and open-paren. Don't explicitly cast the value 2002-05-29 17:12:30 +00:00
uac Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
ul
uname Note that this appeared at least as early as PWB UNIX. 2002-06-10 22:59:59 +00:00
unexpand Allow <blank>s to be used to separate tab stop positions with the -t 2002-06-15 10:16:39 +00:00
unifdef Fixed improper SCRIPTS assignment that broke `clean'. 2002-07-21 21:03:47 +00:00
uniq Correct the History section; uniq(1) appeared at least as early as V3. 2002-07-05 09:44:47 +00:00
units Add enough consts to keep everyone happy. 2002-07-28 16:23:28 +00:00
unvis
usbhidctl
users
uudecode Synch usage() and manpage for b64encode/b64decode. 2002-05-19 11:22:54 +00:00
uuencode Fix a late-night buglet in MLINKS ordering. 2002-05-19 20:39:42 +00:00
uuidgen mdoc(7) police: kill hard sentence breaks. 2002-05-30 14:10:44 +00:00
vacation
vgrind
vi Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
vis
vmstat The boottime variable in sys/kern/kern_tc.c is a struct timeval, not a 2002-08-09 15:47:43 +00:00
w ANSI style function declarations. 2002-06-07 01:41:54 +00:00
wall Note that this appeared at least as early as PWB UNIX. 2002-06-10 22:59:59 +00:00
wc Locale environment variables influence wc(1) regardless of whether the 2002-08-11 10:54:19 +00:00
what Document standards conformance. 2002-05-29 13:45:16 +00:00
whereis Define all paths in pathnames.h 2002-07-25 23:04:31 +00:00
which Handle relative and absolute pathnames (anything with a `/' in it) in the same 2002-06-30 06:02:39 +00:00
who Style: put static qualifier on definition of static functions. 2002-06-20 07:36:22 +00:00
whois
window Use POSIX macros for wait(2)-style status information instead of the 2002-06-03 23:13:11 +00:00
write Use getopt() to reject any options and skip "--" arguments. 2002-05-29 13:14:51 +00:00
xargs Fix typos; each file has at least one s/seperat/separat/ 2002-08-11 13:05:30 +00:00
xinstall Ignore -C, -p, and -S options of install(1) when used with the -d 2002-07-29 08:51:04 +00:00
xlint Merge conflicts. 2002-07-19 16:38:21 +00:00
xstr
yacc Use the constants from <limits.h> for the sizes of integral C types 2002-06-11 11:27:20 +00:00
yes
ypcat
ypmatch
ypwhich
Makefile truss hasn't been ported to ia64 yet. 2002-08-10 06:10:17 +00:00
Makefile.inc