aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xg4
1 files changed, 3 insertions, 1 deletions
diff --git a/g b/g
index 91a0a46..04cbc36 100755
--- a/g
+++ b/g
@@ -1,3 +1,5 @@
#!/bin/sh
-p grep -n "$*" $(find . -name '*.c' -or -name '*.h' | sed s,./,,)
+p grep -n "$*" $(
+ find . -name '*.c' -or -name '*.h' -or -name '*.cc' |
+ sed s,./,,)