加入收藏 | 设为首页 | 会员中心 | 我要投稿 好传媒网 (https://www.haochuanmei.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

awk - Unix, Linux Command---reference

发布时间:2021-01-31 03:04:18 所属栏目:Linux 来源:网络整理
导读:http://www.tutorialspoint.com/unix_commands/awk.htm gawk - pattern scanning and processing language gawk ?[? POSIX ?or? GNU ?style options ]? -f ? program-file ?[? -- ?] file ...? gawk ?[? POSIX ?or? GNU ?style options ] [? -- ?]? program-

Additional output redirections are allowed for?print?and?printf.

>?filefile.?command?commandThe?getline?command returns 0 on end of file and -1 on an error. Upon an error,?ERRNOcontains a string describing the problem.

NOTE:?If using a pipe or co-process to?getline,or from?print?or?printf?within a loop,youmust?use?close()?to create new instances of the command.?AWK?does not automatically close pipes or co-processes when they return EOF.

The printf Statement

The?AWK?versions of the?printf?statement and?sprintf()?function (see below) accept the following conversion specification formats:

Description
(编辑:好传媒网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

Description