原文链接
檔案內容 (num.txt)
123
cat num.txt | awk '{sum += $1} END {print sum}'
cat access.log | awk '{sum += $10} END {print sum}'