source:
trunk/essentials/app-shells/bash/tests/misc/test-minus-e.2
Last change on this file was 3228, checked in by , 18 years ago | |
---|---|
File size: 186 bytes |
Line | |
---|---|
1 | touch .file |
2 | set -e |
3 | while 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 |
10 | done |
11 | rm -f .file |
Note:
See TracBrowser
for help on using the repository browser.