NetBSD/bin
kre 16d8557100 PR bin/53550
Here we go again...   One more time to redo how here docs are
processed (it has been a few years since the last time!)

This is actually a relatively minor change, mostly to timimg
(to just when things happen).   Now here docs are expanded at the
same time the "filename" word in a redirect is expanded, rather than
later when the heredoc was being sent to its process.  This actually
makes things more consistent - but does break one of the ATF tests
which was testing that we were (effectively) internally inconsistent
in this area.

Not all shells agree on the context in which redirection expansions
should happen, some make any side effects visible to the parent shell
(the majority do) others do the redirection expansions in a subshell
so any side effcts are lost.   We used to have a foot in each camp,
with the majority for everything but here docs, and the minority for
here docs.   Now we're all the way with LBJ ... (or something like that).
2021-11-22 05:17:43 +00:00
..
cat
chio
chmod
cp fix reversed test. 2020-05-22 14:54:30 +00:00
csh provide a way to reset setproctitle. 2021-09-16 19:34:21 +00:00
date tool changes 2021-05-26 20:19:51 +00:00
dd dd: fix lint warnings about effectively discarding 'const' 2021-10-09 21:31:36 +00:00
df df: bump man page date 2021-01-06 20:38:09 +00:00
domainname
echo echo: fix lint error due to strict bool mode 2021-11-16 21:38:29 +00:00
ed ed(1): use reallocarr instead of realloc(x * y) 2021-11-02 08:04:20 +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 restore a bit of history. 2021-08-15 10:58:04 +00:00
ksh s/writting/writing/ 2021-11-06 06:40:33 +00:00
ln
ls Fix skipping of directories that begin with a '.' in -R mode. 2020-07-07 14:29:06 +00:00
mkdir PR bin/56398 2021-09-13 22:46:02 +00:00
mt
mv Note that -h is an extension to POSIX. Bump date. 2020-06-24 17:00:58 +00:00
pax pax.1: minor grammar fixes 2021-11-06 01:19:19 +00:00
ps s/maxiumum/maximum/ 2021-11-06 06:38:03 +00:00
pwd Make pwd (both /bin/pwd and the /bin/sh built-in version) check for 2021-11-16 16:57:15 +00:00
rcmd
rcp In sink(), upon error, avoid multiple replies to the source as this 2020-05-06 18:15:40 +00:00
rm bin: remove unnecessary lint comment CONSTCOND 2021-09-10 22:11:03 +00:00
rmdir
setfacl Sync usage with manpage. 2020-06-18 19:44:01 +00:00
sh PR bin/53550 2021-11-22 05:17:43 +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 Allow SMALL (and TINY) builds of test (for SMALL/TINY builds of sh) 2018-09-13 22:00:58 +00:00
Makefile Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
Makefile.inc bin: in builds with MKLINT=yes, run lint on all programs 2021-10-09 21:06:31 +00:00