1# $FreeBSD: src/tools/regression/bin/sh/expansion/cmdsubst8.0,v 1.1 2010/12/30 15:04:59 jilles Exp $ 2# Not required by POSIX (although referenced in a non-normative section), 3# but possibly useful. 4 5: hi there & 6p=$! 7q=$(jobs -l $p) 8 9# Change tabs to spaces. 10set -f 11set -- $q 12r="$*" 13 14case $r in 15*" $p "*) ;; 16*) echo Pid missing; exit 3 ;; 17esac 18