字串連線

字串連線只需通過在沒有任何運算子的情況下彼此相鄰地編寫表示式來完成。例如:

BEGIN {
   user = "root"
   print "Hello "user "!"
}

將列印:Hello root!

請注意,表示式不必用空格分隔。