mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
awk portability fix
This commit is contained in:
parent
ffc37b70ef
commit
18a1a13ad7
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue