nextfile.awk

来自「gawk: linux下资料处理工具」· AWK 代码 · 共 17 行

AWK
17
字号
# nextfile --- skip remaining records in current file# correctly handle successive occurrences of the same file## Arnold Robbins, arnold@skeeve.com, Public Domain# May, 1993# this should be read in before the "main" awk programfunction nextfile()   { _abandon_ = FILENAME; next }_abandon_ == FILENAME {      if (FNR == 1)          _abandon_ = ""      else          next}

⌨️ 快捷键说明

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