xref: /freebsd/contrib/dialog/samples/setup-edit (revision 2a3e3873a1e4cd958f2b0f85d3b10cfa40575d30)
1*2a3e3873SBaptiste Daroussin#!/bin/sh
2*2a3e3873SBaptiste Daroussin# $Id: setup-edit,v 1.2 2012/06/29 09:31:49 tom Exp $
34c8945a0SNathan Whitehorn# vile:shmode
44c8945a0SNathan Whitehorn
54c8945a0SNathan Whitehorninput=`tempfile 2>/dev/null` || input=/tmp/input$$
64c8945a0SNathan Whitehornoutput=`tempfile 2>/dev/null` || output=/tmp/test$$
7*2a3e3873SBaptiste Daroussintrap "rm -f $input $output" $SIG_NONE $SIG_HUP $SIG_INT $SIG_TRAP $SIG_TERM
8