blob: e8ce05c7736b582569d23900931de98a65008144 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$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
|