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

23 lines
628 B
Plaintext

$NetBSD: patch-ab,v 1.1 2005/01/18 22:20:08 tv Exp $
--- awf.orig 2005-01-18 17:16:21.000000000 -0500
+++ awf
@@ -1,7 +1,7 @@
#! /bin/sh
-PATH=/bin:/usr/bin ; export PATH
# AWFLIB is where the pieces live
AWFLIB=${AWFLIB-/usr/lib/awf}
+AWK=${AWK-@AWK@}
tmp=/tmp/awp$$ # tempfile for building pass 2
errs=/tmp/awe$$ # error messages (awk can't send to stderr)
@@ -48,7 +48,7 @@ trap "rm -f $tmp $errs ; exit 0" 0 1 2
done
fi
echo ".^e"
-) | awk -f $AWFLIB/pass1 | awk -f $tmp | awk -f $AWFLIB/pass3
+) | $AWK -f $AWFLIB/pass1 | $AWK -f $tmp | $AWK -f $AWFLIB/pass3
# error messages, if any
if test -s $errs