Commit 986d2bd8 authored by Howard Chu's avatar Howard Chu
Browse files

awk portability fix from HEAD

parent cdff095f
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment