加入收藏 | 设为首页 | 会员中心 | 我要投稿 PHP编程网 - 黄冈站长网 (http://www.0713zz.com/)- 数据应用、建站、人体识别、智能机器人、语音技术!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

awk - Unix, Linux Command---reference

发布时间:2021-01-24 22:46:52 所属栏目:Linux 来源:网络整理
导读:副标题#e# 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-text ?

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
(编辑:PHP编程网 - 黄冈站长网)

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

Description