Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
986d2bd8
Commit
986d2bd8
authored
Nov 29, 2007
by
Howard Chu
Browse files
awk portability fix from HEAD
parent
cdff095f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/scripts/test020-proxycache
View file @
986d2bd8
...
...
@@ -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
-v
FIRST
=
$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
-v
FIRST
=
$FIRST
'{
ANSWERED
=
`
grep
ANSWERABLE
$LOG2
|
awk
"BEGIN {
FIRST=
$FIRST
}"
'{
if (NR > FIRST) {
if ($2 == "NOT")
printf "0"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment