raggedcount.nawk

来自「Solaris环境下Shell编程编程」· NAWK 代码 · 共 7 行

NAWK
7
字号
BEGIN { print "This program is counting the number of fields in" }BEGIN { print "the file raggeddata.file, please wait." }{ totalfields = totalfields + NF }END { print "==> The total number of fields is:", totalfields }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?