Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 384ab7ac authored by Ficus Kirkpatrick's avatar Ficus Kirkpatrick Committed by Android (Google) Code Review
Browse files

Merge "Make cgrep look for *.c, *.cc, *.cpp, *.h exclusively."

parents 518ce575 8889bdf3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -771,7 +771,7 @@ function jgrep()


function cgrep()
function cgrep()
{
{
    find . -type f -name "*\.c*" -print0 | xargs -0 grep --color -n "$@"
    find . -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 grep --color -n "$@"
}
}


function resgrep()
function resgrep()