File: setup-edit

package info (click to toggle)
dialog 1.2-20140911-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,816 kB
  • ctags: 1,664
  • sloc: ansic: 16,924; sh: 6,901; makefile: 413; perl: 354; python: 164
file content (7 lines) | stat: -rw-r--r-- 258 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh
# $Id: setup-edit,v 1.2 2012/06/29 09:31:49 tom Exp $
# vile:shmode

input=`tempfile 2>/dev/null` || input=/tmp/input$$
output=`tempfile 2>/dev/null` || output=/tmp/test$$
trap "rm -f $input $output" $SIG_NONE $SIG_HUP $SIG_INT $SIG_TRAP $SIG_TERM