xref: /freebsd/contrib/dialog/samples/setup-edit (revision cab6a39d7b343596a5823e65c0f7b426551ec22d)
1#!/bin/sh
2# $Id: setup-edit,v 1.3 2016/01/26 22:42:44 tom Exp $
3# vile:shmode
4
5input=`tempfile 2>/dev/null` || input=/tmp/input$$
6output=`tempfile 2>/dev/null` || output=/tmp/test$$
7trap "rm -f $input $output" $SIG_NONE $SIG_HUP $SIG_INT $SIG_QUIT $SIG_TERM
8