xref: /freebsd/contrib/dialog/samples/setup-edit (revision eb69d1f144a6fcc765d1b9d44a5ae8082353e70b)
1#!/bin/sh
2# $Id: setup-edit,v 1.2 2012/06/29 09:31:49 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_TRAP $SIG_TERM
8