source: trunk/essentials/app-shells/bash/tests/misc/test-minus-e.2

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 186 bytes
Line 
1touch .file
2set -e
3while set +e ; test -r .file ; do
4 echo -n "stop loop? [yes to quit] "
5 read reply
6 if [ "$reply" = yes ] ; then
7 rm .file non-dash-file
8 fi
9 set -e
10done
11rm -f .file
Note: See TracBrowser for help on using the repository browser.