Created
June 2, 2017 16:59
-
-
Save jeremyf/289b0e323ff51b98990cd05286f0367a to your computer and use it in GitHub Desktop.
Diff two files using gorn
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
# Transform JSON (from a file, URL, or stdin) into discrete assignments to make it greppable | |
for file in new-*; do diff <(gron "`echo $file | sed 's/new-//'`") <(gron $file) >> diffs.txt; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment