Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1069119
  • 博文数量: 242
  • 博客积分: 10209
  • 博客等级: 上将
  • 技术积分: 3028
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-12 09:27
文章分类

全部博文(242)

文章存档

2014年(1)

2013年(1)

2010年(51)

2009年(65)

2008年(124)

我的朋友

分类:

2008-11-20 18:55:45

sed and awk

Chapter 3
Understanding Regular Expression Syntax

3.2 a line-up of characters

In addition, sed uses the backslash to cause a group of ordinary characters to be interpreted as metacharacters, as shown in below:

\( \) \{ \} \n

The n in the "\n" construct represents a digit from 1 to 9



But in awk ,we use () to group regular expressions.

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