source:
trunk/essentials/app-shells/bash/tests/misc/test-minus-e.2@
3253
| Last change on this file since 3253 was 3228, checked in by , 19 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.
