Date: Sun, 20 Mar 2011 23:52:45 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh sh.1 Message-ID: <201103202352.p2KNqw4x000291@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2011-03-20 23:52:45 UTC
FreeBSD src repository
Modified files:
bin/sh sh.1
Log:
SVN rev 219806 on 2011-03-20 23:52:45Z by jilles
sh(1): Describe subshell environment, command substitution more correctly.
POSIX does not require the shell to fork for a subshell environment, and we
use that possibility in various ways (command substitutions with a single
command and most subshells that are the final command of a shell process).
Therefore do not tie subshells to forking in the man page.
Command substitutions with expansions are a bit strange, causing a fork for
$(...$(($x))...) because $x might expand to y=2; they will probably be
changed later but this is how they work now.
Revision Changes Path
1.160 +19 -7 src/bin/sh/sh.1
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103202352.p2KNqw4x000291>
