📜  grep 和 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:26.604000             🧑  作者: Mango

代码示例1
grep -E 'pattern1.*pattern2' filename
grep -E 'pattern1.*pattern2|pattern2.*pattern1' filename