--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) |