sh(1): Extend documentation about subshells.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 22:12:11 +0000 (15:12 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 21 Aug 2011 22:12:11 +0000 (15:12 -0700)
commit38cd81f12dd6c32822586d59a23530b52116c317
treefeccd63c2d3490950d79790729f23c637902d708
parent71978b8e7c0366854187622629817a6abd6e0c48
sh(1): Extend documentation about subshells.

Because sh executes commands in subshell environments without forking in
more and more cases, it makes sense to describe subshell environments
more precisely using ideas from POSIX, together with some
DragonFly-specific items.

In particular, the hash and times builtins may not behave as if their
state is copied for a subshell environment while leaving the parent
shell environment unchanged.

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