PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/dialog/samples/setup-tempfile

https://bitbucket.org/freebsd/freebsd-head/
#! | 5 lines | 4 code | 1 blank | 0 comment | 0 complexity | 10867d5057848f0901f3b537c89533e6 MD5 | raw file
1# $Id: setup-tempfile,v 1.1 2010/01/13 01:41:02 tom Exp $
2# vile:shmode
3
4tempfile=`tempfile 2>/dev/null` || tempfile=/tmp/test$$
5trap "rm -f $tempfile" 0 1 2 5 15