1 ./jobs2.sub: line 9: fg: job 1 started without job control
22 [4]- Running sleep 2 &
23 [5]+ Running ( sleep 2; exit 4 ) &
28 [1]- Running sleep 20 &
29 [3]+ Running sleep 20 &
31 ./jobs5.sub: line 40: wait: %8: no such job
36 ./jobs.tests: line 38: wait: %1: no such job
37 ./jobs.tests: line 43: fg: no job control
40 ./jobs.tests: line 56: wait: `1-1': not a pid or valid job spec
41 ./jobs.tests: line 57: wait: `-4': not a pid or valid job spec
42 wait-for-background-pids
43 async list wait-for-background-pids
44 async list wait for child
50 ./jobs.tests: line 82: wait: %2: no such job
52 async list wait-for-job
63 ./jobs.tests: line 109: fg: %2: no such job
64 ./jobs.tests: line 110: bg: job 1 already in background
66 ./jobs.tests: line 117: fg: -s: invalid option
67 fg: usage: fg [job_spec]
68 ./jobs.tests: line 118: bg: -s: invalid option
69 bg: usage: bg [job_spec ...]
70 ./jobs.tests: line 123: disown: -s: invalid option
71 disown: usage: disown [-h] [-ar] [jobspec ... | pid ...]
72 ./jobs.tests: line 127: disown: %1: no such job
73 ./jobs.tests: line 130: disown: %2: no such job
75 ./jobs.tests: line 133: wait: pid 1 is not a child of this shell
77 3 -- 1 2 3 -- 1 - 2 - 3
78 [1] Running sleep 300 &
79 [2]- Running sleep 350 &
80 [3]+ Running sleep 400 &
82 [1] Running sleep 300 &
83 [2]- Running sleep 350 &
84 [3]+ Running sleep 400 &
85 ./jobs.tests: line 150: kill: %4: no such job
86 ./jobs.tests: line 152: jobs: %4: no such job
88 [3]+ Running sleep 400 &
90 [2]- Running sleep 350 &
93 [1] Running sleep 300 &
94 [3]- Running sleep 400 &
96 [2]+ Stopped sleep 350
98 [2]+ Stopped sleep 350
99 [3]- Running sleep 400 &
101 [3]- Running sleep 400 &
103 [2]+ Stopped sleep 350
106 [2]+ Running sleep 350 &
107 [3]- Running sleep 400 &
109 after kill -STOP, backgrounding %3:
113 after KILL -STOP, foregrounding %1