grep 所有.c文件

grep -r --include=*.c "xxx" dir

原文地址:https://www.cnblogs.com/banwhui/p/4863226.html