mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-27 15:43:18 +02:00
7 lines
125 B
Plaintext
7 lines
125 B
Plaintext
# make sure fg in a subshell doesn't try to start a parent's job
|
|
set -m
|
|
sleep 20 &
|
|
echo $(jobs)
|
|
echo $(fg %% ; jobs)
|
|
kill %1
|