diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-05-29 00:46:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-05-29 00:46:26 +0000 |
commit | 0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9 (patch) | |
tree | 6b552f40eb089db96409a312a98d9b12bd669102 /bin/grepsrc.sh | |
download | gnunet-0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9.tar.gz gnunet-0a217a8df1657b4334b55b0e4a6c7837a8dbcfd9.zip |
ng
Diffstat (limited to 'bin/grepsrc.sh')
-rwxr-xr-x | bin/grepsrc.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/grepsrc.sh b/bin/grepsrc.sh new file mode 100755 index 000000000..0c18dd7d2 --- /dev/null +++ b/bin/grepsrc.sh | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/bin/sh | ||
2 | # grepsrc.sh string --- greps for string over all C files | ||
3 | find . -name "*.c" -print | grep -v "#" | xargs grep -n "$*" | ||