1 2export key='must contain this' 3unset x 4r=$(ENV="\${x?\$key}" ${SH} -i +m 2>&1 >/dev/null <<\EOF 5exit 0 6EOF 7) && case $r in 8*"$key"*) true ;; 9*) false ;; 10esac 11