Last active
August 29, 2015 14:05
-
-
Save kmanna/c75be99dd25a0bd9745d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Search through a AOSP branch for something interesting | |
set -x | |
find $HOME/ovation \ | |
\( \ | |
-iname Makefile \ | |
-o -iname \*.xml \ | |
-o -iname \*.py \ | |
-o -iname \*.aidl \ | |
-o -iname \*.mk \ | |
-o -iname \*.java \ | |
-o -iname \*\.c \ | |
-o -iname \*\.cpp \ | |
-o -iname \*\.h \ | |
\) \ | |
-print0 | xargs -0 grep --color "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
useful, thanks!