If you have XML::PYX installed you can then run this:
pyx pm.xml | perl -n -e 'if( /^Areputation (\d+)/) { $rep+=$1;$posts++ +;} \ END { print "$posts posts, $rep rep, ", sprintf( "%5.2f", $rep/$posts) +, " average\n";}'
In reply to RE: More tasty XML goodness
by mirod
in thread More tasty XML goodness
by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |