1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 07:27:59 -08:00
openbsd-src/usr.bin
cheloha dbbc8c3f84 midicat(1): use err(3) everywhere
This is consistent with style(9) and makes the program shorter, too.

Tweaked by ratchov@.

Link: https://marc.info/?l=openbsd-tech&m=166982129428027&w=2

ok millert@ kn@ ratchov@
2022-12-02 22:36:34 +00:00
..
apply
arch
at rework the text to avoid constant 2nd person; 2022-10-22 06:41:04 +00:00
aucat remove the unsightly plural from Nd: 2022-10-14 06:46:52 +00:00
audioctl Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
awk Update awk to Sep 12, 2022 version. 2022-09-21 01:42:58 +00:00
banner
basename
bc rev 1.25 replaced unsafe code in a sig handler by different but 2021-08-09 19:13:56 +00:00
bgplg Remove -lncurses from LDADD. It is not used. Also add DPADD line. 2022-09-03 15:58:40 +00:00
biff Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
cal man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
calendar switch from tradcpp(1) to cpp(1); ok jsg@ 2021-12-07 14:00:33 +00:00
cap_mkdb Remove igetnext prototype for the function does not exist. 2020-09-15 07:41:38 +00:00
cdio Vox populi says "cdio:" prefix is useful so switch back to using 2022-10-11 16:32:40 +00:00
chpass man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
cmp For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
col correct Research Unix edition "appeared in" use in HISTORY 2020-02-08 01:09:57 +00:00
colrm
column
comm
compress compress: fix minor TOCTOU when checking for existing file 2022-10-26 00:40:40 +00:00
cpp Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor 2019-09-28 17:30:07 +00:00
crontab
csplit csplit(1): Fix extraneous output in edge case 2021-07-08 00:38:42 +00:00
ctags
ctfconv Remove unused DEBUG_LINE define. 2022-10-02 11:56:43 +00:00
ctfdump Use size_t for the length parameters, not off_t. 2022-08-14 15:01:18 +00:00
cu cu first appeared outside of Bell Labs in PWB/UNIX 1.0 before v7 2022-08-04 04:01:48 +00:00
cut Add HISTORY and AUTHORS. 2022-08-04 15:38:33 +00:00
cvs Stop using MAXBSIZE to eliminate sys/param.h including (which injects a 2021-11-28 19:28:41 +00:00
dc Move two BIGNUMs in printnumber() from the stack to the heap to 2021-11-10 04:39:16 +00:00
deroff deroff(1) first appeared outside of Bell Labs in PWB/UNIX 1.0 2022-08-03 07:38:09 +00:00
diff For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
diff3 Fix merging of files that lack a final \n at EOF after a block of common lines. 2021-04-13 14:20:23 +00:00
dig use sys/types.h to get at __dead. 2022-07-03 16:00:11 +00:00
dirname
doas minor KNF cleanups during a re-read 2022-03-22 20:36:49 +00:00
du remove history of when each du(1) flag was added 2022-09-07 00:46:20 +00:00
encrypt unveil _PATH_LOGIN_CONF_D 2022-02-10 13:06:46 +00:00
env
expand
false
fgen including sys/cdefs.h manually started as a result of netbsd trying to 2021-12-13 18:28:39 +00:00
file Add RISC-V elf executable detection. 2021-04-28 04:41:14 +00:00
find man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
finger
fmt
fold
from Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
fstat Remove unused struct fileops field fo_poll and callbacks. 2022-06-20 01:39:44 +00:00
ftp Before printing the redirect URI pass it through stravis since it is 2022-11-09 17:41:05 +00:00
gencat According to our manual page and to POSIX, $set defaults to NL_SETD. 2019-07-25 13:53:57 +00:00
getcap Fix the -f option when passed multiple files. 2022-02-09 15:53:35 +00:00
getconf This no longer needs the inet pledge. sysconf(3) was modified to report 2022-07-20 14:23:13 +00:00
getent avoid arpa/nameser.h by improving the inet_pton/gethostbyaddr code to 2021-10-11 14:28:26 +00:00
getopt shell scripts should use getopts instead of getopt 2021-05-04 21:03:30 +00:00
gprof *** empty log message *** 2021-04-29 18:48:30 +00:00
grep grep: simplify printline, no functional changes 2022-07-12 18:09:31 +00:00
head head(1): check for stdio errors 2022-02-07 17:19:57 +00:00
hexdump use past tense for history; 2022-09-03 06:55:01 +00:00
htpasswd man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
id If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
indent man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
infocmp remove the "tbl" suffix for a few man pages 2022-07-11 03:11:49 +00:00
ipcrm
ipcs
join getline(3) does it's own memory allocation. No need to use an intermediate 2020-07-23 20:13:01 +00:00
jot update usage() to reflect s->step change; 2021-08-13 12:37:28 +00:00
kdump Support the sendmmsg and recvmmsg system calls. 2022-09-08 16:04:31 +00:00
keynote
kstat s/0/instance/ in usage to match manual synopsis 2022-07-10 19:51:37 +00:00
ktrace we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno 2022-07-30 07:19:30 +00:00
lam Fixed-size NOFILE_MAX (from sys/param.h of course) array is crazy, so 2021-12-03 15:15:22 +00:00
last For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
lastcomm acct(4) ac_tty shouldn't need NODEV from sys/param.h (which is kernel API), 2021-12-13 16:37:37 +00:00
ldap 'e' is no longer an optional element for ober_scanf_elements. 2022-03-31 09:03:48 +00:00
leave in hhmm mode, check that len(time) is 4 to avoid confusion. 2020-01-27 01:05:28 +00:00
less Fix possible use after free with long lines 2022-01-08 11:07:51 +00:00
lex Fix indentation of return in yy_try_NUL_trans(). 2021-11-30 15:50:06 +00:00
libtool Fix an off-by-one when -lestdc++ is passed before -lstdc++ 2020-02-27 11:27:47 +00:00
lndir lndir(1) doesn't need write access to any files and/or folders so wpath promise 2020-03-06 15:17:05 +00:00
locale implement the "charmap" argument as required by POSIX; 2020-04-17 10:45:04 +00:00
locate change some 4.4BSD references to earlier releases 2022-08-04 06:20:24 +00:00
lock Make sure that -n overrides -t even when -n precedes -t, like it 2019-07-24 20:23:09 +00:00
logger
login For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
logname If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
look look(1): use a stricter pledge(2) in lieu of unveil(2) 2022-02-10 14:55:43 +00:00
lorder
m4 somehow, when I created this file, I copied the licence of the other files 2022-07-04 10:41:21 +00:00
mail man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
make Document missing cases of variable substitution 2022-10-14 11:26:19 +00:00
mandoc Finally expand and delete the macro SCALE_VS_INIT(). 2022-09-11 09:12:47 +00:00
mesg Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
mg add zap-to-char and zap-up-to-char; bind zap-to-char to M-z. 2022-10-20 18:59:24 +00:00
midicat midicat(1): use err(3) everywhere 2022-12-02 22:36:34 +00:00
mixerctl Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
mkdep
mklocale
mktemp man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
nc Replace archaic \*(Lt and \*(Gt by plain < and >, respectively, 2022-09-11 09:58:06 +00:00
netstat ndp, route, netstat: adjust ipv6 address width 2022-11-09 18:00:02 +00:00
newsyslog
nfsstat we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno 2022-07-30 07:19:30 +00:00
nice correct Research Unix edition "appeared in" use in HISTORY 2020-02-08 01:09:57 +00:00
nl nl(1) was first in System III not SVR2 2022-07-25 01:57:48 +00:00
nm man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
nohup
openssl Clean up openssl(1) command execution. 2022-11-11 18:24:32 +00:00
pagesize
passwd man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
paste Add HISTORY and AUTHORS. 2022-08-04 15:38:33 +00:00
patch fix locate_hunk in empty files 2022-08-03 07:30:37 +00:00
pctr
pkg-config man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
pkill A couple commands don't need sys/param.h, but they do need sys/signal.h 2021-09-01 15:54:40 +00:00
pr man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
printenv
printf Fix the \x escape sequence to be limited to max 2 characters, instead of 2021-05-07 14:31:27 +00:00
quota some rewording and text shuffle to improve readability; 2020-02-21 21:45:20 +00:00
radioctl
rcs Stop using MAXBSIZE to eliminate sys/param.h including (which injects a 2021-11-28 19:28:41 +00:00
rdist When it's the possessive of 'it', it's spelled "its", without the 2022-01-28 06:18:41 +00:00
rdistd When it's the possessive of 'it', it's spelled "its", without the 2022-01-28 06:18:41 +00:00
readlink Provide realpath(1) 2021-10-13 15:04:53 +00:00
realpath Provide realpath(1) 2021-10-13 15:04:53 +00:00
renice renice(8): don't succeed after 256 errors 2022-08-12 00:24:07 +00:00
rev rev(1): drop "rpath" promise in no-file branch. 2022-02-08 17:44:18 +00:00
rpcgen What kind of Sun idiot called open() with flags of "2". 2021-10-24 21:27:07 +00:00
rpcinfo
rs
rsync Add missing closing bracket in usage 2022-08-02 20:01:12 +00:00
rup
rusers getifaddrs() can return entries where ifa_addr is NULL. Check for this 2020-12-29 19:52:16 +00:00
rwall
script note the -c runs sh -c; from nabijaczleweli 2022-01-03 21:49:37 +00:00
sdiff If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
sed clarify behaviour when the second address in a range is smaller than 2022-09-14 07:14:02 +00:00
sendbug Add more missing archs to "categories": aarch64, mips64el and powerpc64 2022-04-10 17:47:54 +00:00
seq verion -> version 2022-03-10 01:39:55 +00:00
shar
showmount we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno 2022-07-30 07:19:30 +00:00
signify Move (unused) variables under !VERIFYONLY 2022-08-26 00:24:56 +00:00
skey man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
skeyaudit
skeyinfo
skeyinit man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
sndioctl man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
sndiod Wait until the buffer is drained before closing the device 2022-04-29 09:12:57 +00:00
snmp man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
sort man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
spell we have spell(1) via 4.4BSD 2022-08-03 07:43:45 +00:00
split Stop using MAXBSIZE to eliminate sys/param.h including (which injects a 2021-11-28 19:28:41 +00:00
ssh make struct sshbuf private and remove an unused field; ok dtucker 2022-12-02 04:40:27 +00:00
stat more Version 1 AT&T UNIX history: 2019-09-07 10:28:27 +00:00
su Now that libc setusercontext() handling of setrtable is repaired, su(8) 2022-03-23 02:18:22 +00:00
systat Move UVM "swpgonly" from Daemon Counters to Swap Counters 2022-11-27 23:18:54 +00:00
tail tail(1) first appeared outside of Bell Labs in PWB/UNIX 1.0 2022-08-03 08:28:19 +00:00
talk
tcpbench Use TCP_INFO instead of kvm magic to extract information about the tcp streams. 2022-08-15 09:06:54 +00:00
tee tee(1): increase I/O buffer size from 8KB to 64KB 2021-12-13 18:33:23 +00:00
telnet Usually, -width Fl (which is 10n) is too wide and hence ugly. 2020-01-16 16:46:46 +00:00
tftp Sort commands in help output, add help to manual 2022-10-04 08:03:26 +00:00
tic remove the "tbl" suffix for a few man pages 2022-07-11 03:11:49 +00:00
time
timeout Make -s accept HUP like kill(1) and GNU timeout(1) do 2022-07-02 19:00:35 +00:00
tmux Tweak previous to set and log the feature instead of just setting the 2022-11-11 08:44:11 +00:00
top top(1): remove last vestiges of "last pid" support 2022-09-10 16:58:51 +00:00
touch touch(1): don't leak file descriptor if futimens(2) fails 2022-01-29 00:06:26 +00:00
tput If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
tr tr(1): rename lookup tables 2022-02-11 16:09:21 +00:00
true
ts fix unintended sizeof pointer introduced in 1.10 2022-10-11 07:36:27 +00:00
tset controm terminql -> controlling terminal; 2022-10-13 21:37:05 +00:00
tsort
tty Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
ul
uname If a command or interface first appeared in PWB/UNIX, UNIX System III or 2022-07-25 02:25:55 +00:00
unexpand
unifdef prefer https links in man pages 2022-02-18 10:24:32 +00:00
uniq uniq(1): miscellaneous style(9)-ish stuff 2022-01-01 18:20:52 +00:00
units Add four new SI prefixes. 2022-11-18 19:07:54 +00:00
unvis we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno 2022-07-30 07:19:30 +00:00
usbhidaction shamelessly missed to unveil(_PATH_BSHELL, "x") which is required to run the 2022-08-02 09:07:34 +00:00
usbhidctl man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
users Change the error reporting pattern throughout the tree when unveil 2021-07-12 15:09:18 +00:00
uudecode Use BUFSIZ instead of PATH_MAX. Since it doesn't anything with a file 2022-08-30 16:06:09 +00:00
uuencode
vacation man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
vi escape the word "An" in an Rs/Re block, since it can be 2022-04-22 21:09:48 +00:00
vis we mention interim BSD releases so change some 4.4BSD use to 4.3BSD-Reno 2022-07-30 07:19:30 +00:00
vmstat Remove "select collisions" output from vmstat(8). 2022-07-26 14:49:13 +00:00
w MAXCOMLEN is no longer needed in these programs, so remove the annotation 2022-02-22 17:35:01 +00:00
wall Fix line wrapping in wall(1). 2022-05-05 10:04:24 +00:00
wc wc(1): accelerate word counting 2022-09-02 15:21:40 +00:00
what man pages: add missing commas between subordinate and main clauses 2022-03-31 17:27:13 +00:00
which
who remove whitespace 2021-11-11 08:48:48 +00:00
whois prefer https links in man pages 2022-02-18 10:24:32 +00:00
write For open/openat, if the flags parameter does not contain O_CREAT, the 2021-10-24 21:24:15 +00:00
x99token
xargs Delete support for LC_MESSAGES which we shall never implement. 2020-07-19 13:19:25 +00:00
xinstall Stop using MAXBSIZE to eliminate sys/param.h including (which injects a 2021-11-28 19:28:41 +00:00
yacc Add some references, most of these were removed when we stopped building 2021-03-08 02:47:25 +00:00
yes
ypcat
ypmatch reduce verbosity in usage and make it match SYNOPSIS; 2021-06-22 20:14:25 +00:00
ypwhich
Makefile Import ts(1) - a timestamp utility 2022-06-29 08:39:49 +00:00
Makefile.inc