标签:border 处理 选择 margin 搜索字符串 空白 计算 tle 转义
-a 以文本文件方式搜索
-c 计算找到的符合行的次数
-i 忽略大小写
-n 顺便输出行号
-v 反向选择,即找 没有搜索字符串的行
-E 大写 ,搜索内容串支持正则2实例
2:apple is my favorite food.
3:Football game is not use feet only.
18:google is the best tools for search keyword.
19Goooooogle yes!
2:apple is my favorite food.4:this dress doesn‘t fit me.10:motorcycle is cheap than car.12:the symbol ‘*‘ is represented as star.18:google is the best tools for search keyword.19:goooooogle yes!20:go! go! Let‘s go.
1:"Open Source" is a good mechanism to develop programs.21:#I am VBird
1:"Open Source" is a good mechanism to develop programs.2:apple is my favorite food.3:Football game is not use feet only.4:this dress doesn‘t fit me.5:However ,this dress is about $ 3183 dollars.6:GNU is free air not free beer.
22:23:
1:"Open Source" is a good mechanism to develop programs.2:apple is my favorite food.3:Football game is not use feet only.4:this dress doesn‘t fit me.
1:"Open Source" is a good mechanism to develop programs.9:Oh! the soup taste good!16:The world is the same with ‘glad‘.
1:"Open Source" is a good mechanism to develop programs.2:apple is my favorite food.3:Football game is not use feet only.9:Oh! the soup taste good!18:google is the best tools for search keyword.19:goooooogle yes!
18:google is the best tools for search keyword.19:goooooogle yes!
1:"Open Source" is a good mechanism to develop programs.14:The gd software is a library for drafting programs.18:google is the best tools for search keyword.19:goooooogle yes!20:go! go! Let‘s go.
1:"Open Source" is a good mechanism to develop programs.2:apple is my favorite food.3:Football game is not use feet only.9:Oh! the soup taste good!18:google is the best tools for search keyword.19:goooooogle yes!
18:google is the best tools for search keyword.
18:google is the best tools for search keyword.19:goooooogle yes!
+,于 . * 作用类似,表示 一个或多个重复字符。?, 于 . * 作用类似,表示0个或一个字符。|,表示或关系,比如 ‘gd|good|dog‘ 表示有gd,good或dog的串(),将部分内容合成一个单元组。比如 要搜索 glad 或 good 可以这样 ‘g(la|oo)d‘()的好处是可以对小组使用 + ? * 等。比如要搜索A和C开头结尾,中间有至少一个(xyz) 的串,可以这样 : ‘A(xyz)+C‘
标签:border 处理 选择 margin 搜索字符串 空白 计算 tle 转义
原文地址:http://www.cnblogs.com/edgedance/p/6979776.html