awk - Unix, Linux Command---reference
NOTE: When using the integer format-control letters for values that are outside the range of a C?long?integer,?gawk?switches to the?%g?format specifier. If?--lint?is provided on the command line?gawk?warns about this. Other versions of?awk?may print invalid values or do something else entirely. Optional,additional parameters may lie between the?%?and the control letter:
Special File NamesWhen doing I/O redirection from either?print?or?printf?into a file,or via?getline?from a file,?gawk?recognizes certain special filenames internally. These filenames allow access to open file descriptors inherited from?gawk’s parent process (usually the shell). These file names may also be used on the command line to name data files. The filenames are:
print "You blew it!" > "/dev/stderr" whereas you would otherwise have to use print "You blew it!" | "cat 1>&2" (编辑:ASP站长) 【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。 |
-
无相关信息