Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit 8eb87c1

Browse files
committed
Added mising PL3 expression
1 parent 8d61005 commit 8eb87c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/send-payload-pls.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ for PL in 1 2 3 4; do
4747
else
4848
curl $URL -d "$PAYLOAD" -H "PL: $PL" -o /dev/null -s
4949
fi
50-
grep $(tail -1 $accesslog | cut -d\" -f11 | cut -b2-26) $errorlog | sed -e "s/.*\[id \"//" -e "s/\(......\).*\[msg \"/\1 /" -e "s/\"\].*//" -e "s/(Total .*/(Total ...) .../" -e "s/Incoming and Outgoing Score: [0-9]* [0-9]*/Incoming and Outgoing Score: .../" | sed -e "s/$PL1/& PL1/" -e "s/$PL2/& PL2/" -e "s/$PL4/& PL4/" | sort -k2
50+
grep $(tail -1 $accesslog | cut -d\" -f11 | cut -b2-26) $errorlog | sed -e "s/.*\[id \"//" -e "s/\(......\).*\[msg \"/\1 /" -e "s/\"\].*//" -e "s/(Total .*/(Total ...) .../" -e "s/Incoming and Outgoing Score: [0-9]* [0-9]*/Incoming and Outgoing Score: .../" | sed -e "s/$PL1/& PL1/" -e "s/$PL2/& PL2/" -e "s/$PL3/& PL3/ "-e "s/$PL4/& PL4/" | sort -k2
5151
echo
5252
echo -n "Total Incoming Score: "
5353
tail -1 $accesslog | cut -d\" -f11 | cut -d\ -f14 | tr "-" "0"

0 commit comments

Comments
 (0)