awk - Unix, Linux Command---reference
|
For each record in the input,?gawk?tests to see if it matches any?pattern?in the?AWKprogram. For each pattern that the record matches,the associated?action?is executed. The patterns are tested in the order they occur in the program. Finally,after all the input is exhausted,?gawk?executes the code in the?END?block(s) (if any). AWK?variables are dynamic; they come into existence when they are first used. Their values are either floating-point numbers or strings,or both,depending upon how they are used.?AWK?also has one dimensional arrays; arrays with multiple dimensions may be simulated. Several pre-defined variables are set as a program runs; these will be described as needed and summarized below. Records(编辑:网站开发网_马鞍山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |

