awk - Unix, Linux Command---reference
副标题[/!--empirenews.page--]
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?file ... pgawk?[?POSIX?or?GNU?style options ]?-f?program-file?[?--?] file ...?pgawk?[?POSIX?or?GNU?style options ] [?--?]?program-text?file ... Gawk?is the?GNU?Project’s implementation of the?AWK?programming language. It conforms to the definition of the language in the?POSIX?1003.2 Command Language And Utilities Standard. This version in turn is based on the description in?The AWK Programming Language,by Aho,Kernighan,and Weinberger,with the additional features found in the System V Release 4 version of?UNIX?awk.?Gawk?also provides more recent Bell Laboratories?awk?extensions,and a number of?GNU-specific extensions. Pgawk?is the profiling version of?gawk. It is identical in every way to?gawk,except that programs run more slowly,and it automatically produces an execution profile in the fileawkprof.out?when done. See the?--profile?option,below. The command line consists of options to?gawk?itself,the?AWK?program text (if not supplied via the?-f?or?--file?options),and values to be made available in the?ARGC?andARGV?pre-defined?AWK?variables. Gawk?options may be either traditional?POSIX?one letter options,or?GNU?style long options.?POSIX?options start with a single ‘‘-’’,while long options start with ‘‘--’’. Long options are provided for both?GNU-specific features and for?POSIX-mandated features. Following the?POSIX?standard,?gawk-specific options are supplied via arguments to the?-W?option. Multiple?-W?options may be supplied Each?-W?option has a corresponding long option,as detailed below. Arguments to long options are either joined with the option by an?=?sign,with no intervening spaces,or they may be provided in the next command line argument. Long options may be abbreviated,as long as the abbreviation remains unique. Gawk?accepts the following options,listed alphabetically.
相关内容
站长推荐
热点阅读
|