printf() 用法跟c函數一樣 {printf("The sum on line %s is %d.\n", NR, $1+$2)} %s 表示一個字串 %d 表示一個整數 %n.mf 表示一個n個整數m個小數的浮點數