怎么在所有的.py .txt .cpp文件 中grep “abc”和“123”两个字符串

如何在所有的.py .txt .cpp文件 中grep “abc”和“123”两个字符串?
如何在所有的.py .txt .cpp文件 中grep “abc”和“123”两个字符串?

探讨

引用:

find . -name "*.py" -o -name "*.txt" -o "*.cpp" | xargs grep -E "abc|123"

Mode$ find . -name "*.py" -o -name "*.txt" -o "*.cpp" | xargs grep -E "abc|123"
find: 路径必须在表达式之前: *.cpp
……

怎么在所有的.py  .txt .cpp文件 中grep “abc”和“123”两个字符串

相关文章:

你感兴趣的文章:

标签云: