]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/dialog/samples/setup-tempfile
amd64: use register macros for gdb_cpu_getreg()
[FreeBSD/FreeBSD.git] / contrib / dialog / samples / setup-tempfile
1 #!/bin/sh
2 # $Id: setup-tempfile,v 1.4 2016/01/26 22:42:47 tom Exp $
3 # vile:shmode
4
5 tempfile=`(tempfile) 2>/dev/null` || tempfile=/tmp/test$$
6 trap "rm -f $tempfile" 0 $SIG_NONE $SIG_HUP $SIG_INT $SIG_QUIT $SIG_TERM