aboutsummaryrefslogtreecommitdiff
path: root/g
diff options
context:
space:
mode:
Diffstat (limited to 'g')
-rwxr-xr-xg3
1 files changed, 3 insertions, 0 deletions
diff --git a/g b/g
new file mode 100755
index 0000000..91a0a46
--- /dev/null
+++ b/g
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+p grep -n "$*" $(find . -name '*.c' -or -name '*.h' | sed s,./,,)