freebsd-dev/bin/sh
Jilles Tjoelker ef89d04f13 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.
2011-03-20 23:52:45 +00:00
..
bltin
funcs
alias.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
alias.h sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
arith_yacc.c sh: Fix some warnings in code for arithmetic expressions. 2011-03-05 13:27:13 +00:00
arith_yacc.h sh: Import arithmetic expression code from dash. 2011-02-08 23:18:06 +00:00
arith_yylex.c Remove unnecessary cast. 2011-03-07 07:31:15 +00:00
arith.h sh: Import arithmetic expression code from dash. 2011-02-08 23:18:06 +00:00
builtins.def
cd.c
cd.h
error.c
error.h sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
eval.c sh: Remove clearcmdentry()'s now unused argument. 2011-02-05 14:08:51 +00:00
eval.h
exec.c sh: Remove clearcmdentry()'s now unused argument. 2011-02-05 14:08:51 +00:00
exec.h sh: Remove clearcmdentry()'s now unused argument. 2011-02-05 14:08:51 +00:00
expand.c Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
expand.h
histedit.c
init.h sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
input.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
input.h
jobs.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
jobs.h
mail.c
mail.h
main.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
main.h
Makefile sh: Import arithmetic expression code from dash. 2011-02-08 23:18:06 +00:00
memalloc.c
memalloc.h
miscbltin.c
mkbuiltins
mkinit.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
mknodes.c
mksyntax.c
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes
options.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
options.h
output.c
output.h
parser.c sh: Fix some parameter expansion variants ${#...}. 2011-03-13 20:02:39 +00:00
parser.h
redir.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
redir.h
sh.1 sh(1): Describe subshell environment, command substitution more correctly. 2011-03-20 23:52:45 +00:00
shell.h sh: Detect dividing the smallest integer by -1. 2011-02-12 23:44:05 +00:00
show.c
show.h
TOUR sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
trap.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
trap.h
var.c sh: Remove special code for shell scripts without magic number. 2011-02-04 22:47:55 +00:00
var.h