的输出"curl -s http://122.160.230.125:8080/gbod/gb_on_demand.do | head -115 | tail -3"
给出以下
<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>
并curl -s http://122.160.230.125:8080/gbod/gb_on_demand.do | head -115 | tail -3 | awk '{gsub (/ /, " "); gsub (/\<li>/, ""); gsub (/\<\/li>/, " "); print}'
给出
Balance quota: 78.26 GB
High speed data limit: 80.0 GB
No. of days left in the current bill cycle: 28
如何仅从每行中提取数字数据?另外,有没有更好的方法来提取这些数据?