]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/jobs7.sub
bash-5.1 distribution sources and documentation
[thirdparty/bash.git] / tests / jobs7.sub
1 # make sure fg in a subshell doesn't try to start a parent's job
2 set -m
3 sleep 20 &
4 echo $(jobs)
5 echo $(fg %% ; jobs)
6 kill %1