WIP parse libs

This commit is contained in:
Quentin 2019-09-17 10:52:54 +02:00
parent 97c78438b0
commit 9d857b9e24

View file

@ -58,3 +58,20 @@ parse_thunder_links() {
done
done
}
parse_thunder_drop() {
echo "b"
}
parse_thunder_drop_burst() {
echo "a"
}
parse_thunder_red() {
echo "run,delivered_at_once,occur"
get_xp $1 | while read r; do
for i in $(seq 0 1 $2); do
grep -Po "Delivered \d+ packets" out/$r-$i/log/client-donar-stdout.log | grep -Po "\d+"|sort|uniq -c|perl -i -pe"s/^\s*(\d+)\s+(\d+)$/$r-$i,\$2,\$1/"
done
done
}