/usr/share/doc/dialog/examples/setup-tempfile is in dialog 1.1-20120215-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | # $Id: setup-tempfile,v 1.1 2010/01/13 01:41:02 tom Exp $
# vile:shmode
tempfile=`tempfile 2>/dev/null` || tempfile=/tmp/test$$
trap "rm -f $tempfile" 0 1 2 5 15
|