OSDN Git Service

* examples: New directory.
[pf3gnuchains/gcc-fork.git] / contrib / reghunt / examples / reg-watch.awk
1 /result for low patch/  {
2                                 sub(".*low patch ","")
3                                 sub(" is as expected","")
4                                 printf ("<-- %4s\n", $0);
5                                 next
6                         }
7 /result for high patch/ {
8                                 sub(".*high patch ","")
9                                 sub(" is as expected","")
10                                 printf ("    %4s -->\n", $0);
11                                 next
12                         }
13 /patches later/         {
14                                 sub(".*later than ","")
15                                 printf ("<-- %4s\n", $0);
16                                 next
17                         }
18 /patches earlier/       {
19                                 sub(".*earlier than ","")
20                                 printf ("    %4s -->\n", $0);
21                                 next
22                         }
23 /build failed for/      {
24                                 sub(".*build failed for ","")
25                                 printf ("   [%4s]\n", $0);
26                                 next
27                         }
28 /HIGH_PATCH/            {
29                                 printf ("* stopped early *\n")
30                                 next
31                         }
32 /changes with/          {
33                                 sub(".*changes with id ","")
34                                 printf ("+----------+\n")
35                                 printf ("|   %4s   |\n", $0)
36                                 printf ("+----------+\n")
37                                 next
38                         }