📜  bash 打印与多个单词中的任何一个匹配的行 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:50:22.342000             🧑  作者: Mango
代码示例1
# Basic syntax:
grep 'word1\|word2\|word3' /path/to/file
# This prints all lines that match word1, word2, OR, word3