blob: 3ea019e8fd411bb2dc7cb6d01592f28dc0f7460c (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env python3
import re
import fileinput
result_re = re.compile("T: 0 \(.*\) P:.* I:.* C:.* Min: *(?P<min>\d+) Act: *(?P<act>\d+) Avg: *(?P<avg>\d+) Max: *(?P<max>\d+)")
for line in fileinput.input():
match = result_re.match(line)
if match:
print(match.group('max'))
|