diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-03 22:45:39 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-03 22:45:39 +0000 |
commit | ec78fbb5f97ee0f114438d8f6df96b18e9db5ee5 (patch) | |
tree | 3e128376a43debb087230efdd9bd73fb7a7f3be0 /shell/README | |
parent | a2467b287882e86be1c7aef4783a1166f1f72bae (diff) | |
download | busybox-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/README | 13 |
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 @@ | |||
1 | Various bits of what is known about busybox shells, in no particular order. | 1 | Various bits of what is known about busybox shells, in no particular order. |
2 | 2 | ||
3 | 2007-05-03 | ||
4 | hush: update on "sleep 1 | exit 3; echo $?" bug. | ||
5 | parse_stream_outer() repeatedly calls parse_stream(). | ||
6 | parse_stream() is now fixed to stop on ';' in this example, | ||
7 | fixing it (parse_stream_outer() will call parse_stream() 1st time, | ||
8 | execute the parse tree, call parse_stream() 2nd time and execute the tree). | ||
9 | But it's not the end of story. | ||
10 | In more complex situations we _must_ parse way farther before executing. | ||
11 | Example #2: "{ sleep 1 | exit 3; echo $?; ...few_lines... } >file". | ||
12 | Because of redirection, we cannot execute 1st pipe before we parse it all. | ||
13 | We probably need to learn to store $var expressions in parse tree. | ||
14 | Debug printing of parse tree would be nice too. | ||
15 | |||
3 | 2007-04-28 | 16 | 2007-04-28 |
4 | hush: Ctrl-C and Ctrl-Z for single NOFORK commands are working. | 17 | hush: Ctrl-C and Ctrl-Z for single NOFORK commands are working. |
5 | Memory and other resource leaks (opendir) are not addressed | 18 | Memory and other resource leaks (opendir) are not addressed |