Skip to content

Instantly share code, notes, and snippets.

@mishoo
Created September 8, 2012 20:01
Show Gist options
  • Save mishoo/3679252 to your computer and use it in GitHub Desktop.
Save mishoo/3679252 to your computer and use it in GitHub Desktop.
ugly-diff
#! /bin/sh
uglifyjs -v -b -nm -ns -nc $1 > /tmp/ugly-diff-1
uglifyjs -v -b -nm -ns -nc $2 > /tmp/ugly-diff-2
diff /tmp/ugly-diff-1 /tmp/ugly-diff-2 | colordiff | less -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment