magarena/exp/extract_mcts.awk

16 lines
138 B
Awk

/^MCTS/ {
show = 1
}
/^\*/ {
if (show) {
show = 0
print $0
}
}
/lost the game/ {
print
print ""
}