2013-09-26 17:14:40 +02:00

24 lines
550 B
Plaintext

$NetBSD: patch-aa,v 1.2 2005/09/28 20:59:08 seb Exp $
--- vip.orig 2005-09-21 00:35:09.000000000 +0200
+++ vip
@@ -66,7 +66,7 @@ Usage: $PROG [ -no ] [ command ]
otherwise stdin is used;
"
-: ${TMPDIR:="/usr/tmp"} # where temp. files go
+: ${TMPDIR:="/var/tmp"} # where temp. files go
TEMP_FILE="$TMPDIR/$PROG.$$" # temp. file to hold data to edit
COMMAND="cat" # default command to produce input
DFLT_ED="vi" # default editor
@@ -81,6 +81,9 @@ case "$SYS" in
;;
"HP-UX "*)
AWK=awk
+ ;;
+ "NetBSD "*)
+ AWK=awk
esac
#