diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-10 09:04:20 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-10 09:04:20 +0200 |
commit | d6ca58d1a1cd10a167f0b302c73f4abfbe3388c9 (patch) | |
tree | c53c15357f1b33fac46641cdb1bca76be603890f /g | |
parent | f625f167daadc8c01148f45d0603e9d5c1dc7560 (diff) | |
download | xutil-d6ca58d1a1cd10a167f0b302c73f4abfbe3388c9.tar.gz |
g: Search *.cc
Diffstat (limited to 'g')
-rwxr-xr-x | g | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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,./,,) |