summaryrefslogtreecommitdiffstats
path: root/tests/misc/test-minus-e.2
blob: f66966eba8f23580c3f98a233adf9f63f586b9df (plain)
1
2
3
4
5
6
7
8
9
10
11
touch .file
set -e
while set +e ; test -r .file ; do
	echo -n "stop loop? [yes to quit] "
	read reply
	if [ "$reply" = yes ] ; then
		rm .file non-dash-file
	fi
	set -e
done
rm -f .file