illumos-port-bash/tests/misc/test-minus-e.1

10 lines
149 B
Groff

touch .file
while set -e ; test -r .file ; do
echo -n "stop loop? "
read reply
case "$reply" in
y*) rm .file non-dash-file ;;
esac
set +e
done