require 'formula' class VipMan 'vip.1' } end end __END__ diff --git a/vip b/vip index f150167..e517675 100644 --- a/vip +++ b/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,10 @@ case "$SYS" in ;; "HP-UX "*) AWK=awk + ;; + "Darwin "*) + AWK=awk + ;; esac #