NetBSD/usr.bin
minskim 5b777c8343 Fix a bug that made sed(1) fail if the last character of the line
buffer was a backslash.  This closes PR bin/25899.

Patch was borrowed from FreeBSD.  Their log says:

    Fix a bug in sed(1)'s "s" command wherein if an escape ("\"
    character) was initiated at the last character of the line buffer,
    the Wrong Thing was done and sed barfed by interpreting the
    following NUL byte as a digit.  Instead, pull up the next buffer
    and record that the "\" was last seen.

OK'ed by jmc@.
2004-06-12 04:29:22 +00:00
..
apply Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
apropos Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
asa
at Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
audio Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
awk Add article. 2004-06-06 04:04:36 +00:00
banner Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
basename Add Xrefs to basename(3), dirname(3). 2003-09-06 20:56:40 +00:00
bdes Remove DISCLAIMER section, which is just part of the usual BSD license 2004-06-04 10:28:37 +00:00
biff Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
bzip2 Add hook for SMALL 2004-06-06 06:39:43 +00:00
bzip2recover makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
cal Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
calendar Spelling fix. Deomcratic ==> Democratic. 2004-05-14 07:53:22 +00:00
cap_mkdb add WARNS=3 2004-04-23 21:39:43 +00:00
cdplay Add Xref to mscdlabel, bump date. 2004-03-18 21:13:19 +00:00
checknr Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
chflags Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
chpass Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
cksum s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
cmp Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
col safer use of realloc 2003-10-16 06:45:22 +00:00
colcrt Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
colrm Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
column safer use of realloc 2003-10-16 06:45:22 +00:00
comm Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
compile_et Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op), 2003-05-18 07:57:31 +00:00
compress Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
crontab makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
crunch remove copyright and comment sections. Saves ~40K on the crunched 2004-06-06 01:46:53 +00:00
ctags Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
cut Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
db Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
dirname Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
du Use more macros. 2004-05-17 15:36:17 +00:00
eject Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
elf2aout s/the the/to the/. 2004-04-23 02:55:11 +00:00
elf2ecoff Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
env Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
error Spell the plural of suffix "suffixes", not "suffices". 2004-02-13 17:56:17 +00:00
expand Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
false Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
fdformat PR/15897: Ryo HAYASAKA: fdformat does not know about terminal width. 2004-04-23 15:04:27 +00:00
fgen Conditionally include nbtool_config.h to make sure __P has been defined 2003-12-07 01:02:36 +00:00
file Rework how MAKEVERBOSE operates: 2003-10-21 10:01:19 +00:00
find Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
finger Remove duplicate header inclusions; from Jeff Ito in PR bin/25797. 2004-06-03 18:33:57 +00:00
fmt Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
fold safer use of realloc 2003-10-16 06:45:22 +00:00
fpr safer use of realloc 2003-10-16 06:45:22 +00:00
from Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
fsplit Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
fstat Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
ftp Fix an inversed test for NO_STATUS in rev. 1.103; fixes the real issue 2004-06-06 13:53:28 +00:00
gcore Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
gencat Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
getconf Add sysconf(3) knobs for recent additions. 2003-02-02 20:33:05 +00:00
getopt Use -ne' to compare numbers instead of !=' in the example. 2003-05-10 17:02:04 +00:00
gprof Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
grep bump version due to today\'s changes 2004-05-05 15:06:33 +00:00
gzip handle_pathname: if it's stdin, return after handling it, rather than 2004-06-07 03:24:01 +00:00
head Mention -c explicitly, use Nm, drop trailing space, 2004-05-04 23:44:21 +00:00
hesinfo Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
hexdump Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
iconv sort iconv -l output 2004-02-21 09:16:25 +00:00
id Don't compare an integer to NULL. 2003-10-21 02:17:45 +00:00
indent safer use of realloc 2003-10-16 06:45:22 +00:00
innetgr Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
ipcrm Clean up getopt() usage, removing unnecessary warnx()'s. 2003-11-02 17:43:01 +00:00
ipcs New sentence, new line. 2004-03-21 18:48:20 +00:00
join safer use of realloc 2003-10-16 06:56:17 +00:00
jot Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
kdestroy split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
kdump remove creation of the intermediate "sourcefile" which was for debugging 2004-05-10 20:46:44 +00:00
kgetcred Add kgetcred, a tool that fetches a credential from the KDC 2004-05-25 10:31:45 +00:00
kinit rearrange lib stuff so that these link on non-shared-lib platforms. 2003-12-13 22:07:35 +00:00
klist split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
ktrace Replace rest of exit status `1' with EXIT_FAILURE. 2004-02-28 02:42:45 +00:00
ktruss Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
lam Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
last Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
lastcomm Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
ldd Bump the date. 2004-05-23 06:51:42 +00:00
leave Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
less Fix documentation of lesskey config file path per PR 23597 2003-11-30 01:17:03 +00:00
lex PR/25065: Arne H Juul: Typo in debugging output. 2004-04-05 21:17:27 +00:00
locale Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
locate Rework "ignorefs" behaviour: 2004-04-19 01:05:22 +00:00
lock - KNF 2004-03-17 17:54:25 +00:00
logger Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
login Generate the copyright string from sys/conf/copyright rather than 2004-01-05 03:53:10 +00:00
logname Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
look Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
lorder Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
m4 s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
machine Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
mail Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall' 2004-05-16 09:53:09 +00:00
make Add comma in enumerations; fix a sentence; plural needs no apostrophe. 2004-05-07 08:23:31 +00:00
man Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
menuc Allow menu boxes to be forced down the screen if the message text is long. 2004-02-29 23:13:23 +00:00
mesg Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
midiplay Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
mixerctl Mention mixerctl.conf in FILES and SEE ALSO. While here, tidy up some 2004-01-23 21:12:07 +00:00
mk_cmds add DPADD. 2002-10-23 01:25:35 +00:00
mkcsmapper KNF, from kevlo@openbsd 2004-01-05 19:20:10 +00:00
mkdep Redo code that expands the 'xxx.o' to 'xxx.o xxx.so xxx.po xxx.ln' so that 2004-01-26 21:47:04 +00:00
mkesdb use snprintf, dude 2004-01-02 12:09:48 +00:00
mkfifo Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
mklocale Some fixes from jmc@openbsd. 2004-01-24 17:03:26 +00:00
mkstr Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
mktemp Bump date for previous. 2004-04-02 11:47:55 +00:00
modstat The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 15:59:16 +00:00
msgc Improve editing of input fields: 2004-06-05 19:05:36 +00:00
msgs Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
netgroup Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
netstat Temporary hack to fix ipsec stats lossage. Atatat, are you listening? 2004-06-06 17:11:48 +00:00
newsyslog Document that the flags in the configuration file are parsed 2004-03-24 02:25:15 +00:00
nfsstat Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
nice Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
nl .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
nohup Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
openssl NO_* have been changed to OPENSSL_NO_* in more recent OpenSSL releases, 2003-08-27 20:18:41 +00:00
pagesize Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
passwd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
paste Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
patch remove unused macros 2003-07-30 08:51:55 +00:00
pathchk Dd month argument should not be abbreviated. 2003-04-15 20:40:28 +00:00
pkill Make usage() not overflow 80 char lines. 2004-02-15 17:03:30 +00:00
pmap s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
pmc Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
pr Move Keith Muller's code from a 4-clause to a 3-clause licence by removing 2003-10-13 07:41:22 +00:00
printenv Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
printf Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
progress Support strsuftoll(3) suffixes for '-l length'. 2004-04-03 06:19:22 +00:00
pwhash use bounded string op 2003-07-14 09:33:08 +00:00
qsubst Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
quota Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
radioctl Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rdist Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
renice Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rev Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
rlogin Drop some unnecessary whitespaces from the usage message. Closes PR bin/24993 2004-03-31 13:01:00 +00:00
rpcgen Sort options; drop trailing space and a superfluous s. 2004-05-12 18:49:30 +00:00
rpcinfo s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
rs Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rsh Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
rup Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
ruptime Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
rusers Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rwall Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
rwho Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
script Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
sed Fix a bug that made sed(1) fail if the last character of the line 2004-06-12 04:29:22 +00:00
shar Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
shlock Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
showmount uppercase NFS acronym 2004-01-15 03:33:20 +00:00
shuffle Teach getopt about the new -0 option. Noted by Jeff Ito in PR 25621. 2004-05-18 04:09:21 +00:00
skey Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
skeyinfo use bounded string op 2003-07-23 04:11:12 +00:00
skeyinit Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
soelim Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
sort Do not step over the edge of the buffer (check for '\0'). This just happens 2004-03-14 21:12:14 +00:00
split Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
ssh Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
stat If using stat (the -L flag) and it fails, fall back to lstat(). It 2004-05-28 04:48:31 +00:00
string2key add DPADD. 2002-10-23 01:25:35 +00:00
su Remove a leftover line apparently from rev. 1.17; also from Juha Hyttinen 2004-04-27 10:26:22 +00:00
systat "bufmem" is unsigned long inside the kernel, so don't try to grovel it out 2004-05-11 21:56:20 +00:00
tail do not use long for file offset, use off_t. otto@openbsd 2004-02-16 21:57:04 +00:00
talk PR/24862: Peter Postma: From Andrey Matveev via OpenBSD: 2004-03-20 17:07:33 +00:00
tcopy Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
tee Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
telnet - deal with a dead tty in ttyflush() by cleaning-up and exiting instead of 2004-03-20 23:26:05 +00:00
tftp correct arg to setpeer() from main(). 2003-10-02 23:31:52 +00:00
time Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
tip English fix. 2004-05-09 18:59:52 +00:00
tn3270 Various typo fixes from Jonathon Gray via jmc@openbsd. 2003-11-17 11:16:10 +00:00
top Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
touch Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
tput Note in the BUGS section that some termcap entries don't have 2004-03-29 20:56:24 +00:00
tr As in other man pages, use .Dq for strings, and .Sq for single characters. 2004-03-24 11:38:27 +00:00
true Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
tset Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
tsort Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
tty Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
ul Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
uname Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
unexpand Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
unifdef Sort sections and other fixes. 2003-11-11 13:48:50 +00:00
uniq Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
units Recognize reciprocal conversions and generate output like GNU units(1). 2003-12-05 22:26:43 +00:00
unvis Add -h to decode RFC 1808 URI style encoding (VIS_HTTPSTYLE). 2004-04-22 06:55:15 +00:00
usbhidaction Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
usbhidctl Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
users Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
uudecode Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
uuencode Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
vacation - more void casts 2004-04-05 23:11:34 +00:00
vgrind constify, warns = 3 2004-04-23 22:14:57 +00:00
vi -I. is part of CPPFLAGS, not CFLAGS. Make it so, allows to lint. 2004-05-25 16:47:31 +00:00
vis fix silly cut & paste error in -h description 2004-04-22 06:53:43 +00:00
vmstat pidhash and pgrphash should have been removed from here as well when the 2004-02-28 05:14:55 +00:00
w Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
wall Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
wc Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
what Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
whatis Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
whereis PR/25680: Christian Biere: whereis/which return invalid information with 2004-05-23 02:24:06 +00:00
who Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
whois Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
window Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
write Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
xargs Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
xinstall Fix bug when calculating digest when copying from dev/null. 2004-02-02 23:25:36 +00:00
xlint Bump date for previous. 2004-01-26 21:59:42 +00:00
xstr & -> \*[Am]; remove a comma. 2004-06-07 03:37:52 +00:00
yacc Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
yes Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
ypcat Modify the licences of code written by Theo De Raadt from a 4-clause 2003-12-10 12:06:25 +00:00
ypmatch Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
ypwhich strlcpy 2003-07-12 13:57:49 +00:00
Makefile Add kgetcred, a tool that fetches a credential from the KDC 2004-05-25 10:31:45 +00:00
Makefile.inc