]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh(1): Extend documentation about subshells.
authorjilles <jilles@FreeBSD.org>
Sun, 10 Jul 2011 15:02:25 +0000 (15:02 +0000)
committerjilles <jilles@FreeBSD.org>
Sun, 10 Jul 2011 15:02:25 +0000 (15:02 +0000)
commit845b2cab39a00a4a5263037d09df0b2911ba155c
tree74429b149ce79e55d67eb0548c1455c70919b3f8
parentd4aeb2041d52974026d53b50c30bc7881dfa9123
sh(1): Extend documentation about subshells.

Because sh executes commands in subshell environments without forking in
more and more cases (particularly from 8.0 on), it makes sense to describe
subshell environments more precisely using ideas from POSIX, together with
some FreeBSD-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.
bin/sh/sh.1