摘要: 一、或(or)操作1、使用选项 -Egrep -E 'a1|a2’filename // 找出文件(filename)中包含a1或者包含a2的行 2、使用egrepegrep ‘a1|a2’ filename // 用egrep同样可以实现 3、使用选项 -e使用grep -e 选项,只能传递一个参 阅读全文
posted @ 2023-10-08 10:46 业余砖家 阅读(277) 评论(0) 推荐(0) 编辑