awk.sc

来自「UNIX+shell范例精解(第4版)代码」· SC 代码 · 共 6 行

SC
6
字号
# awk.sc script/tom/ { count["tom"]++ }/mary/ { count["mary"]++ }END{print "There are " count["tom"] " Toms in the file and   " count["mary"]" Marys in the file."}   

⌨️ 快捷键说明

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