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

awk - Unix, Linux Command---reference

发布时间:2021-01-24 20:35:25 所属栏目: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-

The following special filenames may be used with the?|&?co-process operator for creating TCP/IP network connections.

lport/rhost/rportlport?to remote hostrhost?on remote port?rport. Use a port of?0?to have the system pick a port.lport/rhost/rportlport/rhost/rportOther special filenames provide access to information about the running?gawk?process.These filenames are now obsolete.?Use the?PROCINFO?array to obtain the information they provide. The filenames are:

Description
Numeric Functions

AWK?has the following built-in arithmetic functions:

<table class="src" border="1" cellspacing="0" cellpadding="5">


<tr>
<th width="25%">Tag

y,?x) y/x?in radians.expr) expr,which is in radians.expr) expr) expr) N,between 0 and 1,such that 0 <=N?< 1.expr) expr,which is in radians.expr) expr]) expr?as a new seed for the random number generator. If no?expr?is provided,the time of day is used. The return value is the previous seed for the random number generator.String Functions

Gawk?has the following built-in string functions:

(编辑:晋中站长网)

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

Description
Description