Chinaunix首页 | 论坛 | 博客
  • 博客访问: 39888
  • 博文数量: 18
  • 博客积分: 366
  • 博客等级: 一等列兵
  • 技术积分: 200
  • 用 户 组: 普通用户
  • 注册时间: 2012-09-26 10:41
文章分类

全部博文(18)

文章存档

2013年(3)

2012年(15)

我的朋友

分类: LINUX

2013-03-10 23:02:06

 --re-interval
              Enable  the  use  of  interval expressions in regular expression
              matching (see Regular Expressions, below).  Interval expressions
              were not traditionally available in the AWK language.  The POSIX
              standard added them, to make awk and egrep consistent with  each
              other.   However, their use is likely to break old AWK programs,
              so gawk only provides them  if  they  are  requested  with  this
              option, or when --posix is specified.
只有指定了--posix 或者是 --re-interval 两个选项后 awk 才能用{n,m}  区间表达式
阅读(313) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~