☰
Debian Codegraph
@
1.3-20260107-2
/
/
samples
/
setup-tempfile
☽
☼
samples/setup-tempfile
code
plain
raw
symbols
SCIP
LGPL
2000-2025 Thomas E. Dickey
debian/copyright
1
#!
/bin/sh
2
# $Id: setup-tempfile,v 1.5 2021/11/07 23:32:40 tom Exp $
3
# vile:shmode
4
5
tempfile
=`(
mktemp
) 2>
/dev/null
` ||
tempfile
=/tmp/test$$
6
trap "rm -f $
tempfile
" 0 $
SIG_NONE
$
SIG_HUP
$
SIG_INT
$
SIG_QUIT
$
SIG_TERM