awk中NF $NF y_x · 2013-04-08 14:32 · awk · 编程语言 · Markdown awk下面的变量NF和$NF有什么区别? {print NF}:输出了域个数 {print $NF}:输出最后一个字段的内容