From 18a1a13ad7a01aa797302a851d2a107ecb0d212a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 29 Nov 2007 13:45:55 +0000 Subject: [PATCH] awk portability fix --- tests/scripts/test020-proxycache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/test020-proxycache b/tests/scripts/test020-proxycache index 6830c1c109..5787b226b9 100755 --- a/tests/scripts/test020-proxycache +++ b/tests/scripts/test020-proxycache @@ -417,7 +417,7 @@ esac #not answerable because of sizelimit, queries contained in it are no longer #answerable as well ANSWERABILITY=111001 -grep ANSWERABLE $LOG2 | awk -vFIRST=$FIRST '{ +grep ANSWERABLE $LOG2 | awk "BEGIN {FIRST=$FIRST}"'{ if (NR > FIRST) { if ($2 == "NOT") printf "Query %d not answerable\n",NR @@ -425,7 +425,7 @@ grep ANSWERABLE $LOG2 | awk -vFIRST=$FIRST '{ printf "Query %d answerable\n",NR } }' -ANSWERED=`grep ANSWERABLE $LOG2 | awk -vFIRST=$FIRST '{ +ANSWERED=`grep ANSWERABLE $LOG2 | awk "BEGIN {FIRST=$FIRST}"'{ if (NR > FIRST) { if ($2 == "NOT") printf "0" -- 2.39.5