The second code block (lines 6-7) just passes the root element of the document off to the recursive modification method I'll get to in a moment.
第二个代码块(第6 - 7行)只是将文档的根元素传递给我马上要谈到的递归修改方法。
After all the lines have been processed, the END block will execute, and awk will print out a final summary, specifying the number of blank lines it found.
在所有行都处理完毕之后,awk执行END代码块,并打印最终的汇总信息,以显示它找到的空白行数。
As I indicate in the comments, the first block of code (lines 1-5) in Listing 1 handles parsing an input stream to build a document representation.
正如我在注释中指出的,清单1中的第一块代码(第1 - 5行)处理对输入流的语法分析,以构建文档表示。
应用推荐