1 2key=`printf '\r\t\001\200\300'` 3r=`{ set -x; : "$key"; } 2>&1 >/dev/null` 4case $r in 5*[![:print:]]*) echo fail; exit 3 6esac 7