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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
258 B
Plaintext
Raw Normal View History

2012-10-21 18:18:09 +00:00
#!/bin/sh
2018-10-20 20:32:57 +00:00
# $Id: setup-edit,v 1.3 2016/01/26 22:42:44 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$$
2018-10-20 20:32:57 +00:00
trap "rm -f $input $output" $SIG_NONE $SIG_HUP $SIG_INT $SIG_QUIT $SIG_TERM