Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Diff two files using gorn
# 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