awk 两列相减

cat http.txt  |awk -F ':' '{print($2-$3)}'

百度文库

原文地址:https://www.cnblogs.com/nulisaonian/p/6114127.html