NetBSD/bin
kre 36d40de856 For now, probably forever, prohibit unquoted $ and ` in the names of
functions being defined (they can still be included if quoted).

If we parsed the way POSIX specifies (leaving the exact input text of
$ and ` expansions unaltered, until required to be expanded) this would
not be needed, as the name of a function being defined does not underbo
parameter, command, or arith expansions, so xxx$3() { : ; } would just
work.   But for many reasons we don't do that (and are unlikely to ever,
though maintaing both forms might be an option someday) - which led to
very obscure behaviour (if sh were compiled in DEBUG mode, even an abort())
and certainly nothing useful.   So just prohibit these uses for now.
(A portable function name must be a "name" so this makes no difference
at all to posix compat applications/scripts).

A doc update is pending (the updated sh.1 also contains updates in other
areas not yet appropriate to commit).
2020-08-19 22:41:47 +00:00
..
cat
chio
chmod
cp fix reversed test. 2020-05-22 14:54:30 +00:00
csh Use the right size for several calloc calls. 2020-08-09 00:53:38 +00:00
date
dd copy libc's swab.c into dd as dd_swab(), and remove the restrict. 2019-10-04 08:57:37 +00:00
df we don't need root anymore. 2019-09-23 15:24:44 +00:00
domainname
echo Add some commas. 2020-02-26 07:14:47 +00:00
ed Unifdef compatibility for broken realloc. 2019-01-04 19:13:58 +00:00
expr Fix typo 2020-06-11 13:08:07 +00:00
getfacl Fix xrefs, comment out acl(9) which we don't have. 2020-06-18 19:36:13 +00:00
hostname
kill Bump date for previous change... I frequently forget that bit. 2020-05-06 13:13:50 +00:00
ksh Avoid arithmetics on strings. 2019-10-29 16:19:59 +00:00
ln
ls Fix skipping of directories that begin with a '.' in -R mode. 2020-07-07 14:29:06 +00:00
mkdir
mt
mv Note that -h is an extension to POSIX. Bump date. 2020-06-24 17:00:58 +00:00
pax Move definition of chdname and do_chroot to options.c 2020-04-03 16:13:32 +00:00
ps ps(1): Guard freeing the memory of pinfo with __NO_LEAKS. 2019-09-15 15:27:50 +00:00
pwd
rcmd
rcp In sink(), upon error, avoid multiple replies to the source as this 2020-05-06 18:15:40 +00:00
rm
rmdir
setfacl Sync usage with manpage. 2020-06-18 19:44:01 +00:00
sh For now, probably forever, prohibit unquoted $ and ` in the names of 2020-08-19 22:41:47 +00:00
sleep Deal with overflow when the sleep duration given is a simple 2019-03-10 15:18:45 +00:00
stty Don't fail when the line discipline ioctl fails (since it secondary 2019-09-06 16:28:53 +00:00
sync
test
Makefile Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
Makefile.inc