Output of "curl -s http://122.160.230.125:8080/gbod/gb_on_demand.do | head -115 | tail -3" gives the following
<li>Balance quota: 78.26 GB</li>
<li>High speed data limit: 80.0 GB</li>
<li>No. of days left in the current bill cycle: 28</li>
and curl -s http://122.160.230.125:8080/gbod/gb_on_demand.do | head -115 | tail -3 | awk '{gsub (/ /, " "); gsub (/\<li>/, ""); gsub (/\<\/li>/, " "); print}' gives
Balance quota: 78.26 GB
High speed data limit: 80.0 GB
No. of days left in the current bill cycle: 28
How do I extract only the numeric data from each line? Also, is there a better way to extract that data?