I have a Unix shell script I wrote that I would like to "convert" to a Windows binary...
It grabs 3 web pages and searches the pages for certain words and then formats the output...
Right now it is a command line utility, but I would like it to sit in the task bar and when you mouse over it I would like it to give you the data as a tool tip... I would like it to automatically poll the pages every hour or so, and I would like to be able to force it to poll...
I am not a programmer, so I am looking for someone to volunteer to write this program... I will make sure you get plenty of recognition for it... Right now it is hardwired for Team Prime Rib, but eventually I would like to have it work for any GIMPS user... Potentially, there are hundreds of people out there who could use this program...
I also would like it to be open source...
Maybe you need an idea for a school project or maybe you are bored... Either way, let me know!
Here is the script:
<tt>#!/bin/sh
/opt/sfw/bin/wget -O - -q "http://mersenne.org/ips/tops.shtml" | grep "Team_Prime_Rib" | awk '{printf ("[%2d/%3.3f", $1, $4)}' ; /opt/sfw/bin/wget -O - -q "http://mersenne.org/primenet/ftop101to500.txt" | grep "Team_Prime_Rib" | awk '{printf ("/%1d/%2.3f", $1, $5)}' ; /opt/sfw/bin/wget -O - -q "http://mersenne.org/cgi-bin/primenet_report.pl?UserID=Team_Prime_Rib&UserPW=tpr" | tr -d '\015' | grep '^Team_Prime_Rib' | awk '{printf ("/%4.2f]\n", $6)}'</tt>
Here is the output:
<tt>[39/237.083/7/78.923/1921.90]</tt>
You can find out more information about TPR here, if you are interested:
http://www.teamprimerib.com/
Thanks!
It grabs 3 web pages and searches the pages for certain words and then formats the output...
Right now it is a command line utility, but I would like it to sit in the task bar and when you mouse over it I would like it to give you the data as a tool tip... I would like it to automatically poll the pages every hour or so, and I would like to be able to force it to poll...
I am not a programmer, so I am looking for someone to volunteer to write this program... I will make sure you get plenty of recognition for it... Right now it is hardwired for Team Prime Rib, but eventually I would like to have it work for any GIMPS user... Potentially, there are hundreds of people out there who could use this program...
I also would like it to be open source...
Maybe you need an idea for a school project or maybe you are bored... Either way, let me know!
Here is the script:
<tt>#!/bin/sh
/opt/sfw/bin/wget -O - -q "http://mersenne.org/ips/tops.shtml" | grep "Team_Prime_Rib" | awk '{printf ("[%2d/%3.3f", $1, $4)}' ; /opt/sfw/bin/wget -O - -q "http://mersenne.org/primenet/ftop101to500.txt" | grep "Team_Prime_Rib" | awk '{printf ("/%1d/%2.3f", $1, $5)}' ; /opt/sfw/bin/wget -O - -q "http://mersenne.org/cgi-bin/primenet_report.pl?UserID=Team_Prime_Rib&UserPW=tpr" | tr -d '\015' | grep '^Team_Prime_Rib' | awk '{printf ("/%4.2f]\n", $6)}'</tt>
Here is the output:
<tt>[39/237.083/7/78.923/1921.90]</tt>
You can find out more information about TPR here, if you are interested:
http://www.teamprimerib.com/
Thanks!