git: sh(1): Extend documentation about subshells.

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Aug 21 16:33:36 PDT 2011


commit 38cd81f12dd6c32822586d59a23530b52116c317
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Sun Aug 21 15:12:11 2011 -0700

    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

Summary of changes:
 bin/sh/sh.1 |   54 ++++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 46 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/38cd81f12dd6c32822586d59a23530b52116c317


-- 
DragonFly BSD source repository





More information about the Commits mailing list