cat http.txt |awk -F ‘:‘ ‘{print($2-$3)}‘
百度文库
awk 两列相减
原文:http://www.cnblogs.com/nulisaonian/p/6114127.html