grep/egrep工具的使用
摘要:正则表达式 前言: 正则表达式的定义是:它使用单个字符串来描述或匹配;一系列符合某个句法规则的字符串。其实正则表达式只是一种思想,一种表示方法。常用的工具有grep、sed、awk等,它们都是针对文本操作的。 一、grep/egrep工具的使用 1、grep的命令的格式为:grep [-cinvAB
阅读全文
posted @ 2021-06-30 09:47
posted @ 2021-06-30 09:47
posted @ 2021-06-29 08:08
posted @ 2021-06-28 12:01