diff options
-rw-r--r-- | shell/README | 6 |
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 | ||
35 | It says that shell must implement special built-ins. Special built-ins | 35 | It says that shell must implement special built-ins. Special built-ins |
36 | differ from regular ones by the fact that variable assignments | 36 | differ from regular ones by the fact that variable assignments |
37 | done on special builtin is *PRESERVED*. That is, | 37 | done on special builtin are *PRESERVED*. That is, |
38 | 38 | ||
39 | VAR=VAL special_builtin; echo $VAR | 39 | VAR=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 |
44 | abort the shell, but this is not such a critical difference, | 44 | abort the shell, but this is not such a critical difference, |
45 | and moreover, at least bash's "set" does not follow this rule, | 45 | and moreover, at least bash's "set" does not follow this rule, |
46 | which is even codified in autoconf now...). | 46 | which is even codified in autoconf configure logic now...) |
47 | 47 | ||
48 | List of special builtins: | 48 | List of special builtins: |
49 | 49 | ||
@@ -73,7 +73,7 @@ unset [-fv] name... | |||
73 | In practice, no one uses this obscure feature - none of these builtins | 73 | In practice, no one uses this obscure feature - none of these builtins |
74 | gives any special reasons to play such dirty tricks. | 74 | gives any special reasons to play such dirty tricks. |
75 | 75 | ||
76 | However. This section says that *function invocation* should act | 76 | However. This section also says that *function invocation* should act |
77 | similar to special built-in. That is, variable assignments | 77 | similar to special built-in. That is, variable assignments |
78 | done on function invocation should be preserved after function invocation. | 78 | done on function invocation should be preserved after function invocation. |
79 | 79 | ||