diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2005-04-27 14:57:26 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-04-27 14:57:26 +0000 |
| commit | be6ce82937e89f9b13591d634c0884904143232c (patch) | |
| tree | 5f841ab49134f2e0a32171688bbae2703e8ced6c /llvm/utils/parseNLT.pl | |
| parent | b071bef66a3a9b1f46c21bbe66dc0517331240bd (diff) | |
| download | bcm5719-llvm-be6ce82937e89f9b13591d634c0884904143232c.tar.gz bcm5719-llvm-be6ce82937e89f9b13591d634c0884904143232c.zip | |
fix for parse, and a start at db import. Using CVS as scp :)
llvm-svn: 21591
Diffstat (limited to 'llvm/utils/parseNLT.pl')
| -rw-r--r-- | llvm/utils/parseNLT.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/utils/parseNLT.pl b/llvm/utils/parseNLT.pl index 3a2e82e1e02..95afca73a13 100644 --- a/llvm/utils/parseNLT.pl +++ b/llvm/utils/parseNLT.pl @@ -15,12 +15,14 @@ while(<>) if (/<td>([^<]+)<\/td>/) { if ($prefix) - { $output .= "$1 "; } + { $output .= "$1 "; $count++; } } if (/<tr/) { - if ($output) - { print "\n$day $mon $year $prefix/$output"; $output = ""; } + if ($output and $count > 3) + { print "\n$day $mon $year $prefix/$output"; } + $output = ""; + $count = 0; } if (/<h2>(Programs.+)<\/h2>/) { |

