sh(1): Describe subshell environment, command substitution better
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 16 Apr 2011 21:21:02 +0000 (11:21 -1000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 16 Apr 2011 21:55:47 +0000 (11:55 -1000)
commit1de900004b5d3ce0a9ec0b8960385b820a884c5f
tree397414801d22d0802aa7d0e928fbb63c33d50f76
parent6ea1c53357054b48026c1fbe6223a0b674921f12
sh(1): Describe subshell environment, command substitution better

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.

Also, fix some sentences with excessive semicolons.

Obtained-from:  FreeBSD
bin/sh/sh.1