A small shell script to bring up scores from Cricinfo for all the cric fans out there :)
$ ./score.sh -a http://www.espncricinfo.com/sri-lanka-v-england-2012/engine/current/match/536301.html someMatch
$ ./score.sh
SLCD 44/1 (8.0 ov, EMGDY Munaweera 26*, MDKJ Perera 7*, SR Patel 0/7) - Stumps
$ ./score.sh -l
someMatch : http://www.espncricinfo.com/sri-lanka-v-england-2012/engine/current/match/536301.html
$ ./score.sh -r someMatch
- Make the commandline arguments NOT potitional based - guide
Allow for adding of URL to trackprovision for multiple matches- Make it faster (currently its curl-ing the entire page)
Add help- Individual switch help
check for uniqueness among keys- What i've written is stupid . make it more streamlined
- Proper error messages