NetBSD/bin
kre b81009ce62 When processing character classes ([:xxx:] inside []), treat a class name
that is longer than we can handle the same way we treat an unknown
class name (as a valid char class which contains nothing, so never
matches).   Previously a "too long" class name invalidated the
class, so [:very-long-name:] would match any of  '[' ':' 'v'  ...
(note: "very-long-name" is not long enough to trigger this, but you
get the idea!)

However, the name itself has a restricted syntax ([[:***:]] is not a
character class, it is a match for one of a '[' ':' or '*', followed by
a ']') which we did not implement - check the syntax of the name before
treating it as a character class (but we do add '_' to alphanumerics
as legal class name characters).
2018-06-22 18:19:41 +00:00
..
cat
chio
chmod
cp
csh use SUBDIR.roff suggested by uwe@ 2018-06-10 17:55:11 +00:00
date
dd
df
domainname
echo
ed Prevent shell execution also in the 'r ! dobad' case, pointed out by 2018-06-18 14:56:24 +00:00
expr remove notreached 2018-06-14 02:46:56 +00:00
hostname
kill
ksh Change typ of tilde_ok from int to unsigned int in ksh(1) 2018-06-12 14:13:55 +00:00
ln
ls
mkdir
mt
mv
pax PR/53362: Thomas Barabosch: Use strlcpy() to prevent theoretical buffer 2018-06-13 15:14:40 +00:00
ps kvm_geterr() already contains errno, use errx. 2018-04-11 18:52:29 +00:00
pwd
rcmd
rcp
rm
rmdir
sh When processing character classes ([:xxx:] inside []), treat a class name 2018-06-22 18:19:41 +00:00
sleep
stty
sync
test
Makefile
Makefile.inc