Chinaunix首页 | 论坛 | 博客
  • 博客访问: 540495
  • 博文数量: 83
  • 博客积分: 6010
  • 博客等级: 准将
  • 技术积分: 1169
  • 用 户 组: 普通用户
  • 注册时间: 2007-04-29 22:34
文章分类

全部博文(83)

文章存档

2011年(3)

2010年(29)

2009年(30)

2008年(21)

我的朋友

分类:

2010-07-07 19:34:23

 FILENAME  输入文件名称
 FNR  当前输入文件记录数(当前行号)
 FS  字段分隔符,默认为' '
 NF  当前记录的字段数
 NR  在工作(job)中记录数
 OFS  输出字段分隔符
 ORS  输出记录分隔符
 RS  输入记录分隔符,默认为'\n'
ARGC        The number of command line arguments (does not include  options to gawk, or the program source).   命令行参数的个数
ARGIND      The index in ARGV of the current file being processed. 命令行中文件序号
ARGV        Array of command line arguments. The array is indexed
                   from 0 to ARGC - 1. Dynamically changing the contents
                   of ARGV can control the files used for data. 命令行参数数组

阅读(1001) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~