summaryrefslogtreecommitdiffstats
path: root/bin/sh/sh.1
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r--bin/sh/sh.114
1 files changed, 9 insertions, 5 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 062a9da..7b1eb61 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -626,6 +626,7 @@ There are two kinds of built-in commands: regular and special.
Assignments before special builtins persist after they finish
executing and assignment errors, redirection errors and certain
operand errors cause a script to be aborted.
+Special builtins cannot be overridden with a function.
Both regular and special builtins can affect the shell in ways
normal programs cannot.
.Pp
@@ -1268,19 +1269,22 @@ consists of all characters until the matching
.Ql } .
Any
.Ql }
-escaped by a backslash or within a single-quoted string, and characters in
+escaped by a backslash or within a single-quoted or double-quoted
+string, and characters in
embedded arithmetic expansions, command substitutions, and variable
expansions, are not examined in determining the matching
.Ql } .
-Except for the variants with
+If the variants with
.Ql + ,
.Ql - ,
.Ql =
or
-.Ql ?\& ,
-any
+.Ql ?\&
+occur within a double-quoted string,
+as an extension there may be unquoted parts
+(via double-quotes inside the expansion);
.Ql }
-within a double-quoted string is also not examined in determining the matching
+within such parts are also not examined in determining the matching
.Ql } .
.Pp
The simplest form for parameter expansion is:
OpenPOWER on IntegriCloud