1 ./jobs2.sub: fg: job %1 started without job control
4 ./jobs.tests: wait: job control not enabled
5 ./jobs.tests: fg: no job control
8 ./jobs.tests: wait: `1-1' is not a pid or valid job spec
9 ./jobs.tests: wait: `-4' is not a pid or valid job spec
10 wait-for-background-pids
11 async list wait-for-background-pids
12 async list wait for child
16 ./jobs.tests: wait: %2: no such job
18 async list wait-for-job
29 ./jobs.tests: fg: %2: no such job
30 ./jobs.tests: bg: bg background job?
32 ./jobs.tests: fg: illegal option: -s
33 fg: usage: fg [job_spec]
34 ./jobs.tests: bg: illegal option: -s
35 bg: usage: bg [job_spec]
36 ./jobs.tests: disown: illegal option: -s
37 disown: usage: disown [-h] [-ar] [jobspec ...]
38 ./jobs.tests: disown: %1: no such job
39 ./jobs.tests: disown: %2: no such job
41 ./jobs.tests: wait: pid 1 is not a child of this shell
43 3 -- 1 2 3 -- 1 - 2 - 3
44 [1] Running sleep 300 &
45 [2]- Running sleep 350 &
46 [3]+ Running sleep 400 &
48 [1] Running sleep 300 &
49 [2]- Running sleep 350 &
50 [3]+ Running sleep 400 &
51 ./jobs.tests: kill: %4: no such job
52 ./jobs.tests: jobs: no such job %4
54 [3]+ Running sleep 400 &
56 [2]- Running sleep 350 &
59 [1] Running sleep 300 &
60 [3]- Running sleep 400 &
62 [2]+ Stopped sleep 350
64 [2]+ Stopped sleep 350
65 [3]- Running sleep 400 &
67 [3]- Running sleep 400 &
69 [2]+ Stopped sleep 350
72 [2]+ Running sleep 350 &
73 [3]- Running sleep 400 &
75 after kill -STOP, backgrounding %3:
79 after KILL -STOP, foregrounding %1