aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-20 12:56:14 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-20 12:56:14 +0200
commit131ed3bcc9c9eabcb4bd6a063c24c6f9922f1491 (patch)
treea1a8e82b1520f5fb0d5e4ce50ba3c2d30b591f51
parenta0ec4f500c7b8b2ac1c7e34c9a2ee7504c7f8914 (diff)
downloadbusybox-w32-131ed3bcc9c9eabcb4bd6a063c24c6f9922f1491.tar.gz
busybox-w32-131ed3bcc9c9eabcb4bd6a063c24c6f9922f1491.tar.bz2
busybox-w32-131ed3bcc9c9eabcb4bd6a063c24c6f9922f1491.zip
update shell/README
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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