Created
March 1, 2017 20:20
-
-
Save bnchdrff/22abec52ccc925d640fb14ceeab48211 to your computer and use it in GitHub Desktop.
search only the difffs
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
# Search through only the diff files from https://archive.org/download/IRS990-efile | |
cd IRS990-efile/irs_form990_schemas | |
mkdir diffs | |
cd diffs | |
for diffdir in `find ../ -name '*Diffs*'`; do ln -s $diffdir; done | |
# Now, we have a directory full of symlinks to the diff dirs in each of the schema versions. | |
# We can grep freely now: | |
grep -Rl '"BusinessName"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment