| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | set -e |
| 3 | TEMPFILE=$(mktempscip-shell system . . mktemp. -p "") |
| 4 | echoscip-shell system . . echo. $TEMPFILE |
| 5 | trap "rm -rf $TEMPFILE" HUP INT QUIT TERM STOP PWR EXIT |
| 6 | |
| 7 | # test if attempting to run sensible-editor recursively is correctly ignored |
| 8 | VISUAL='sensible-editor --' EDITOR=true timeoutscip-shell system . . timeout. 0.2 sensible-editor "$TEMPFILE" |