freebsd-skq/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 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
chio Add static keywords to chio(1). 2011-12-11 20:53:12 +00:00
chmod Update sticky(7) cross references. 2011-05-13 16:29:57 +00:00
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 echo(1): Clarify portability and mention literal "--" handling. 2010-11-12 22:43:40 +00:00
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 Staticify internal routines. 2009-06-23 23:30:56 +00:00
kenv I forgot to bump the manpage date. 2012-05-12 02:49:40 +00:00
kill kill: Note that this is used both as a normal program and a shell builtin. 2011-03-01 21:48:22 +00:00
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 Put some static keywords in the source code. 2011-10-31 08:59:17 +00:00
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 Make sys_signame upper case. 2011-02-04 16:40:50 +00:00
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 Make `realpath'' behave like `realpath .''. 2011-06-21 19:34:57 +00:00
rm Fix bin/ build with a 64-bit ino_t. 2012-09-27 23:31:12 +00:00
rmail Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
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 Document the new argument parser for sleep(1) and SIGINFO behaviour. 2010-08-02 10:59:23 +00:00
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 Merge from tbemd: 2010-09-13 01:29:51 +00:00
Makefile.inc