Retro68/gcc/contrib/reghunt/examples/reg-watch.awk
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

39 lines
770 B
Awk
Executable File

/result for low patch/ {
sub(".*low patch ","")
sub(" is as expected","")
printf ("<-- %4s\n", $0);
next
}
/result for high patch/ {
sub(".*high patch ","")
sub(" is as expected","")
printf (" %4s -->\n", $0);
next
}
/patches later/ {
sub(".*later than ","")
printf ("<-- %4s\n", $0);
next
}
/patches earlier/ {
sub(".*earlier than ","")
printf (" %4s -->\n", $0);
next
}
/build failed for/ {
sub(".*build failed for ","")
printf (" [%4s]\n", $0);
next
}
/HIGH_PATCH/ {
printf ("* stopped early *\n")
next
}
/changes with/ {
sub(".*changes with id ","")
printf ("+----------+\n")
printf ("| %4s |\n", $0)
printf ("+----------+\n")
next
}