aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_doc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_doc.txt')
-rw-r--r--shell/ash_doc.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/shell/ash_doc.txt b/shell/ash_doc.txt
index 28c574841..d8a48c114 100644
--- a/shell/ash_doc.txt
+++ b/shell/ash_doc.txt
@@ -14,6 +14,7 @@ $ wait
14^C 14^C
15... 15...
16 16
17
17Bug 1984 (http://busybox.net/bugs/view.php?id=1984): 18Bug 1984 (http://busybox.net/bugs/view.php?id=1984):
18traps were not triggering: 19traps were not triggering:
19 20
@@ -29,3 +30,24 @@ sleep 3600 &
29echo "Please do: kill -USR1 $$" 30echo "Please do: kill -USR1 $$"
30echo "or: kill -INT $$" 31echo "or: kill -INT $$"
31while true; do wait; echo wait interrupted; done 32while true; do wait; echo wait interrupted; done
33
34
35Bug 189 (https://bugs.busybox.net/show_bug.cgi?id=189)
36
37func() {
38 sleep 1
39}
40while (true); do
41 func
42 echo Looping
43done
44
45^C was observed to make ash processes geometrically multiply (!) instead
46of exiting. (true) in subshell does not seem to matter, as another user
47reports the same with:
48
49while true
50do
51 echo Kill me
52 sleep 1
53done