From: Hermit (virus@hermit.net)
Date: Tue Sep 02 2003 - 07:20:05 MDT
A bug. Located. Dammit. Needed a sort before sed -n ':x;p;n;/./bx;:z;n;/./!bz;i\\' which I did manually while testing and left out when building the script.
So the second one liner now looks like:
wget -O - http://virus.lucifer.com/bbs/index.php?action=voteIndex | sed -n 's!.*<a href=\\(.*=voteResults;[^>]*\\)>\\([^<]*\\).*!\\1!p' | wget -O - -i - | sed -n 's!.*Voters: \\([^<]*\\).*!\\1!p' | sed 's!\\([^,]*\\),!\\1\\n!g' | sed 's! !!g' | sort -k 2,2 | sed -n ':x;p;n;/./bx;:z;n;/./!bz;i\\' | sort | uniq -c > v
And the amended results are a lot more believable:
28 WalterWatts
28 rhinoceros
28 Hermit
28 DavidLucifer
27 Ophis
27 Hermitess
27 ElvenSage
26 Kid-A
26 goomba
26 DrSebby
25 outlawpoet
24 referent
24 prometheus
24 JakeSapiens
22 Warlock
22 thebricoleur
22 RavenBlack
22 Kharin
19 irvken
19 Flux
19 Blunderov
18 Smucker
17 Sat
17 Feagwath
15 opsima
12 RenegadeSocial
10 JerryLee
9 LukianTheWizard
9 Kalkor
8 JoeDees
7 Tywick
7 Rhysenn
7 celindra
5 RD
4 jubungalord
3 Zloduska
3 nrv8
3 JonathanDavis
2 tabsa
2 Demon
0 Pedro
0 michelle
0 localroger
0 crw
0 athenonrex
My apologies to anyone hard done by.
---- This message was posted by Hermit to the Virus 2003 board on Church of Virus BBS. <http://virus.lucifer.com/bbs/index.php?board=54;action=display;threadid=29191> --- To unsubscribe from the Virus list go to <http://www.lucifer.com/cgi-bin/virus-l>
This archive was generated by hypermail 2.1.5 : Tue Sep 02 2003 - 07:21:44 MDT