aboutsummaryrefslogtreecommitdiff
path: root/shell/README
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-03 22:45:39 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-03 22:45:39 +0000
commitec78fbb5f97ee0f114438d8f6df96b18e9db5ee5 (patch)
tree3e128376a43debb087230efdd9bd73fb7a7f3be0 /shell/README
parenta2467b287882e86be1c7aef4783a1166f1f72bae (diff)
downloadbusybox-w32-ec78fbb5f97ee0f114438d8f6df96b18e9db5ee5.tar.gz
busybox-w32-ec78fbb5f97ee0f114438d8f6df96b18e9db5ee5.tar.bz2
busybox-w32-ec78fbb5f97ee0f114438d8f6df96b18e9db5ee5.zip
hush: fix "true | exit 3; echo $?" bug
git-svn-id: svn://busybox.net/trunk/busybox@18551 69ca8d6d-28ef-0310-b511-8ec308f3f277
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