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 | 6e92729e988e5528ee8cd0c034561054d75dc8ff (patch) | |
tree | 1ca78840336fdb3e9b6df551b2eb8fd1e195e18e /utils/parseNLT.pl | |
parent | 85d5f6067dda05abd079f97fe2c8585128ba7f00 (diff) | |
download | external_llvm-6e92729e988e5528ee8cd0c034561054d75dc8ff.zip external_llvm-6e92729e988e5528ee8cd0c034561054d75dc8ff.tar.gz external_llvm-6e92729e988e5528ee8cd0c034561054d75dc8ff.tar.bz2 |
fix for parse, and a start at db import. Using CVS as scp :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/parseNLT.pl')
-rw-r--r-- | utils/parseNLT.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/parseNLT.pl b/utils/parseNLT.pl index 3a2e82e..95afca7 100644 --- a/utils/parseNLT.pl +++ b/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>/) { |