Skip to content

Instantly share code, notes, and snippets.

@bnchdrff
Created March 1, 2017 20:20
Show Gist options
  • Save bnchdrff/22abec52ccc925d640fb14ceeab48211 to your computer and use it in GitHub Desktop.
Save bnchdrff/22abec52ccc925d640fb14ceeab48211 to your computer and use it in GitHub Desktop.
search only the difffs
# 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