aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/README6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/README b/shell/README
index 550c712d3..6a9f5b6ae 100644
--- a/shell/README
+++ b/shell/README
@@ -34,7 +34,7 @@ Shell Command Language
34 34
35It says that shell must implement special built-ins. Special built-ins 35It says that shell must implement special built-ins. Special built-ins
36differ from regular ones by the fact that variable assignments 36differ from regular ones by the fact that variable assignments
37done on special builtin is *PRESERVED*. That is, 37done on special builtin are *PRESERVED*. That is,
38 38
39VAR=VAL special_builtin; echo $VAR 39VAR=VAL special_builtin; echo $VAR
40 40
@@ -43,7 +43,7 @@ should print VAL.
43(Another distinction is that an error in special built-in should 43(Another distinction is that an error in special built-in should
44abort the shell, but this is not such a critical difference, 44abort the shell, but this is not such a critical difference,
45and moreover, at least bash's "set" does not follow this rule, 45and moreover, at least bash's "set" does not follow this rule,
46which is even codified in autoconf now...). 46which is even codified in autoconf configure logic now...)
47 47
48List of special builtins: 48List of special builtins:
49 49
@@ -73,7 +73,7 @@ unset [-fv] name...
73In practice, no one uses this obscure feature - none of these builtins 73In practice, no one uses this obscure feature - none of these builtins
74gives any special reasons to play such dirty tricks. 74gives any special reasons to play such dirty tricks.
75 75
76However. This section says that *function invocation* should act 76However. This section also says that *function invocation* should act
77similar to special built-in. That is, variable assignments 77similar to special built-in. That is, variable assignments
78done on function invocation should be preserved after function invocation. 78done on function invocation should be preserved after function invocation.
79 79