Created
July 31, 2012 11:03
-
-
Save hiway/3216203 to your computer and use it in GitHub Desktop.
Scrape Indian Electrical Western Region Data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s http://www.wrldc.com/ | sed -n '/WR Grid Frequency/,/UI Rate/p' | sed -e 's#<[^>]*>##g' | sed 's/ / /g' | sed 's/UI Rate (Rs\/Unit)/ /g' | sed 's/ //g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment