aboutsummaryrefslogtreecommitdiff
path: root/shell/README
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-03 22:45:39 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-03 22:45:39 +0000
commite725bfe6e01505f0480dd1bd357209d3a2e72bb7 (patch)
tree3e128376a43debb087230efdd9bd73fb7a7f3be0 /shell/README
parentf2fffd0014edff7f791fc2a5b27147bb0628d7e6 (diff)
downloadbusybox-w32-e725bfe6e01505f0480dd1bd357209d3a2e72bb7.tar.gz
busybox-w32-e725bfe6e01505f0480dd1bd357209d3a2e72bb7.tar.bz2
busybox-w32-e725bfe6e01505f0480dd1bd357209d3a2e72bb7.zip
hush: fix "true | exit 3; echo $?" bug
Diffstat (limited to 'shell/README')
-rw-r--r--shell/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/README b/shell/README
index 40447cacb..989587a4f 100644
--- a/shell/README
+++ b/shell/README
@@ -1,5 +1,18 @@
1Various bits of what is known about busybox shells, in no particular order. 1Various bits of what is known about busybox shells, in no particular order.
2 2
32007-05-03
4hush: update on "sleep 1 | exit 3; echo $?" bug.
5parse_stream_outer() repeatedly calls parse_stream().
6parse_stream() is now fixed to stop on ';' in this example,
7fixing it (parse_stream_outer() will call parse_stream() 1st time,
8execute the parse tree, call parse_stream() 2nd time and execute the tree).
9But it's not the end of story.
10In more complex situations we _must_ parse way farther before executing.
11Example #2: "{ sleep 1 | exit 3; echo $?; ...few_lines... } >file".
12Because of redirection, we cannot execute 1st pipe before we parse it all.
13We probably need to learn to store $var expressions in parse tree.
14Debug printing of parse tree would be nice too.
15
32007-04-28 162007-04-28
4hush: Ctrl-C and Ctrl-Z for single NOFORK commands are working. 17hush: Ctrl-C and Ctrl-Z for single NOFORK commands are working.
5Memory and other resource leaks (opendir) are not addressed 18Memory and other resource leaks (opendir) are not addressed