freebsd-nq/contrib/dialog/samples/setup-edit

8 lines
258 B
Plaintext
Raw Normal View History

2012-10-21 18:18:09 +00:00
#!/bin/sh
# $Id: setup-edit,v 1.2 2012/06/29 09:31:49 tom Exp $
2011-01-13 02:21:23 +00:00
# vile:shmode
input=`tempfile 2>/dev/null` || input=/tmp/input$$
output=`tempfile 2>/dev/null` || output=/tmp/test$$
2012-10-21 18:18:09 +00:00
trap "rm -f $input $output" $SIG_NONE $SIG_HUP $SIG_INT $SIG_TRAP $SIG_TERM