diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-10 16:00:30 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-10 16:00:30 +0000 |
commit | 0ef240d979b0ffcad104a6844cee4c72640844f5 (patch) | |
tree | 907c81192061c4b33767c2ace918464cb53889af | |
parent | 05743d79496cf96e9f6f645b6bbc165d51e6aa5c (diff) | |
download | busybox-w32-0ef240d979b0ffcad104a6844cee4c72640844f5.tar.gz busybox-w32-0ef240d979b0ffcad104a6844cee4c72640844f5.tar.bz2 busybox-w32-0ef240d979b0ffcad104a6844cee4c72640844f5.zip |
hush: small fixes to docs/testsuite
-rw-r--r-- | shell/hush_doc.txt | 4 | ||||
-rw-r--r-- | shell/hush_test/zbad2 | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush_doc.txt b/shell/hush_doc.txt index a3ead590c..973fe44c5 100644 --- a/shell/hush_doc.txt +++ b/shell/hush_doc.txt | |||
@@ -22,11 +22,11 @@ run_list(struct pipe *) - handles "cmd; cmd2 && cmd3", while/for/do loops | |||
22 | 22 | ||
23 | /* callsite: run_list */ | 23 | /* callsite: run_list */ |
24 | run_pipe - runs "cmd1 | cmd2 | cmd3 [&]" | 24 | run_pipe - runs "cmd1 | cmd2 | cmd3 [&]" |
25 | run_list - used if only one cmd and it is of the form "{ cmd4; cmd5 && cmd6; }" | 25 | run_list - used if only one cmd and it is of the form "{cmds;}" |
26 | forks for every cmd if more than one cmd or if & is there | 26 | forks for every cmd if more than one cmd or if & is there |
27 | pseudo_exec - runs each "cmdN" (handles builtins etc) | 27 | pseudo_exec - runs each "cmdN" (handles builtins etc) |
28 | 28 | ||
29 | /* callsite: run_pipe_real */ | 29 | /* callsite: run_pipe */ |
30 | pseudo_exec - runs "cmd" (handles builtins etc) | 30 | pseudo_exec - runs "cmd" (handles builtins etc) |
31 | exec - execs external programs | 31 | exec - execs external programs |
32 | run_list - used if cmdN is "(cmds)" or "{cmds;}" | 32 | run_list - used if cmdN is "(cmds)" or "{cmds;}" |
diff --git a/shell/hush_test/zbad2 b/shell/hush_test/zbad2 index c30fa85a0..b6fffe59e 100644 --- a/shell/hush_test/zbad2 +++ b/shell/hush_test/zbad2 | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | ## hush does globbing for "VAR=val" too! | 10 | ## hush does globbing for "VAR=val" too! |
11 | ## it should do it only for non-assignments. | 11 | ## it should do it only for non-assignments. |
12 | ## even if word looks like assignment, it can be non-assignemnt: | 12 | ## even if word looks like assignment, it can be non-assignment: |
13 | ## ZVAR=*.map /bin/echo ZVAR=*.map | 13 | ## ZVAR=*.map /bin/echo ZVAR=*.map |
14 | ## ^dont_glob ^glob | 14 | ## ^dont_glob ^glob |
15 | 15 | ||