1# Not required by POSIX (although referenced in a non-normative section),
2# but possibly useful.
3
4: hi there &
5p=$!
6q=$(jobs -l $p)
7
8# Change tabs to spaces.
9set -f
10set -- $q
11r="$*"
12
13case $r in
14*" $p "*) ;;
15*) echo Pid missing; exit 3 ;;
16esac
17