【Shell正则】Posted on2022年1月30日 正则grep使用 正则grep使用 1.grep家族 grep:在文件中全局查找指定的正则表达式,并打印所有匹配到的行 egrep:扩展egrep,支持更多的正则表达式元字符 fgrep:固定grep(fixed gr… Read More
【Shell正则】Posted on2022年1月30日 Shell正则表达式 Shell正则表达式 1.正则表达式元字符 1.什么是正则表达式 正则表达式(regular expression)是一种字符模式,用于在查找过程中匹配指定的字符。 2.元字符概述 定义:元字符他们表… Read More