Chinaunix首页 | 论坛 | 博客
  • 博客访问: 129655
  • 博文数量: 19
  • 博客积分: 1188
  • 博客等级: 中尉
  • 技术积分: 210
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-12 01:16
文章分类

全部博文(19)

文章存档

2011年(1)

2010年(18)

分类:

2010-02-10 17:39:15

参数说明
-f PatternFile
            Specifies a file containing search patterns. Each pattern should be separated by a new-line character, and an empty line is considered a NULL
            pattern. Each pattern is treated like a basic regular expression (BRE), unless the -E or -F flag is also specified.
 
sky@test:/home/sy>cat tt
12
23
*  hard nofile 355360
* soft nofile 355360
45
56
sky@test:/home/sy>cat cond
\*  hard nofile 355360
\* soft nofile 355360
sky@test:/home/sy>grep -f cond tt
*  hard nofile 355360
* soft nofile 355360
阅读(1504) | 评论(0) | 转发(0) |
0

上一篇:认真

下一篇:强人语录

给主人留下些什么吧!~~