Sure, awk doesn't have a great name.
的确,awk没有一个动听的名字。
使用awk处理数据。
You can use grep, awk, Perl, and other solutions.
您可以使用grep、awk、Perl和其他的解决方案。
See Resources for more details about how to use awk.
有关如何使用awk 的更多详细信息,请参见参考资料。
See Resources for more details about how to use awk.
有关如何使用awk的更多详细信息,请参见参考资料。
Listing 15 shows how to get started with the awk command.
清单15显示了如何开始使用awk命令。
Printing specified fields of text file is a simple awk task.
打印文本文件中的指定字段是一项简单的awk任务。
Another program that USES regular expression extensively is awk.
使用正则表达式的另一个程序是awk。
Update awk to the most recent version (We're using 20070501).
将awk升级到最新版本(我们使用的是20070501)。
For example, did you know you can do network programming with awk?
例如,您以前可能根本不知道可以使用awk进行网络编程。
You can use the awk command to quickly total the sales for each month.
您可以使用awk命令来快速获得每个月的销售总额。
The awk command can be complex and used in a wide variety of situations.
awk命令可以很复杂并应用于广泛的情景中。
Next, awk reduces the output to the process ID, which you feed into xargs.
接下来,awk只显示输出结果中的进程ID,并将它传递给xargs。
Another nice thing about awk is its full complement of mathematical operators.
Awk的另一个优点是它拥有全面的数学运算符。
Normally, awk executes each block of your script's code once for each input line.
通常,awk会针对每个输入行执行一次每个代码块。
You know how to figure out what version of Cygwin, awk, and other tools you have.
你知道如何了解你的Cygwin、awk和其他工具的版本。
I find it more manageable to have separate awk statements for each condition I want met.
我发现,对于希望满足的每个条件,使用单独的awk语句更便于管理。
Take that line and use awk to print the second field, which is the total memory in the node.
获取那一行并使用awk输出第二个字段,它是节点中的总内存。
You don't have to sed, awk, grep, and perl your way through reams of onstat or snapshot data.
您不必对大量onstat或快照数据进行 sed、awk、grep和perl 操作。
To ignore all records that contain the string 'xnpd', one could use the following awk statement
要忽略包含字符串'xnpd' 的所有记录,可以使用以下 awk 语句
This includes crafting loops and knowing how to parse data using utilities like awk, grep, and sed.
这包括巧妙使用循环和知道如何使用awk、grep和sed等的实用程序解析数据。
By using the NOT operator with awk, you can specify what records should NOT be extracted from the report.
通过在awk语句中使用NOT操作符,可以指定不应该提取哪些记录。
An awk command consists of a pattern and an action composed of one or more statements, as shown in the syntax below.
awk命令包括一个模式和由一条或多条语句构成的操作,语法如下所示。
Probably some standard Unix shell tools like awk, sed, or tr could be used cleverly to get the precise output desired.
也许可以聪明地使用一些标准的Unixshell工具,如awk、sed或者tr,以准确得到所需要的输出。
To explore the awk command more fully, start with the command man awk in addition to the resources mentioned in the Resources.
若要更完整地学习awk命令,请从命令man awk开始,并参阅参考资料部分提供的资源。
This, however, produced a surprising behavior; those functions did not work as expected when the executable being run was the awk utility.
不过,这导致了不可思议的行为;当运行的可执行文件为awk实用工具时,这两个函数不能正常工作。
The awk command always seems to live in the shadows of Perl, but it can be a quick, useful tool for simple command-line-based data manipulation.
awk命令似乎始终处在Perl的阴影下,但它对于简单、基于命令行的数据处理来说是一个快速、实用的工具。
This filtering may well include deleting headers or trailers from the data file; sed and awk are your friends for any text-filtering requirements.
这可能包括删除数据文件中头尾不需要的信息;sed和awk 有助于满足任何文本筛选需求。
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代码块,并打印最终的汇总信息,以显示它找到的空白行数。
To get summary information, in other words, the total space used by a specific user, you can use awk to total the information and print out the final value.
要获得摘要信息,换句话说,即某个特定用户所使用的总空间,您可以使用awk对该信息进行总计,并打印出最后的值。
应用推荐