egrep 可以看着是grep的扩展,参数-e支持正则匹配

满足其中任一条件

egrep -e "tiaojian1|tiaojian2" test.txt

相关文章:

  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2021-11-27
相关资源
相似解决方案