3 # Convert check-parsing.sh's log to diff format.
6 if(-t STDIN && $#ARGV == -1) {
7 print STDERR "Usage: check-parsing-log2diff.pl < check-parsing.sh.log > diff.patch\n";
14 if (/^Checking\s*(.+?)\s*against\s*(.+?)$/) {
17 } elsif (/^\-\-\-\s(.+?)\s.*/) {
18 print "--- a/dev/null " . "\n";
19 } elsif (/^\+\+\+\s(.+?)\s.*/) {
20 print "+++ b" . $target . "\n";
24 if (/^Checking\s*(.+?)\s*against\s*(.+?)$/) {