freebsd-dev/bin
Jilles Tjoelker 4dc6bdd3e7 sh: Expand here documents in the current process.
Expand here documents at the same point other redirections are expanded but
use a non-fork subshell environment (like simple command substitutions) for
compatibility. Substitition errors result in an empty here document like
before.

As a result, a fork is avoided for short (<4K) expanded here documents.

Unexpanded here documents (with quoted end marker after <<) are not affected
by this change. They already only forked when >4K.

Side effects:
* Order of expansion is slightly different.
* Slow expansions are not executed in parallel with the redirected command.
* A non-fork subshell environment is subtly different from a forked process.
2013-02-03 15:54:57 +00:00
..
cat Fix date. 2013-01-29 20:01:47 +00:00
chflags
chio
chmod
cp Return with an error from copy_link(), copy_fifo() and copy_special() if 2013-01-27 05:59:28 +00:00
csh Update to tcsh 6.18.01. 2012-02-22 03:36:15 +00:00
date Fix socket calls on error post-r243965. 2012-12-21 15:54:13 +00:00
dd More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
df Don't time travel back and use a present date. 2013-01-25 18:47:16 +00:00
domainname
echo
ed More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
expr Remove redundant declaration of yyparse 2012-05-22 03:01:54 +00:00
getfacl Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
hostname
kenv I forgot to bump the manpage date. 2012-05-12 02:49:40 +00:00
kill
ln Fix wording nit. 2012-12-28 22:06:33 +00:00
ls When WCHAR_MIN == 0 the check if a wchar_t value will always be true. In 2013-01-06 02:50:38 +00:00
mkdir
mv Follow the behavior as specified in POSIX: 2012-11-15 15:05:51 +00:00
pax Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
pkill
ps - Move 'showthreads' check out of fmt.c. 2013-01-19 00:21:55 +00:00
pwait Use a different way to silence clang analyzer as done in r245494 by 2013-01-16 18:15:25 +00:00
pwd
rcp Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
realpath
rm Fix bin/ build with a 64-bit ino_t. 2012-09-27 23:31:12 +00:00
rmail
rmdir
setfacl Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
sh sh: Expand here documents in the current process. 2013-02-03 15:54:57 +00:00
sleep
stty stty: Mark usage() __dead2. 2012-07-15 21:12:22 +00:00
sync
test test(1): Document == alias for =. 2012-12-27 13:21:37 +00:00
uuidgen Mention the upper hard limit for -n option. Patch slightly modified 2012-05-23 16:19:19 +00:00
Makefile
Makefile.inc