Skip to content

Instantly share code, notes, and snippets.

@mando
Last active August 29, 2015 14:04
Show Gist options
  • Save mando/d2941c0a6d11c34b828c to your computer and use it in GitHub Desktop.
Save mando/d2941c0a6d11c34b828c to your computer and use it in GitHub Desktop.
Diffy diff OS X
bash-3.2$ diff -B <( sort A | tr [:lower:] [:upper:] ) <( sort B | tr [:lower:] [:upper:] )
2a3
> HARMONY
bash-3.2$ bash --version
GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)
Copyright (C) 2007 Free Software Foundation, Inc.
bash-3.2$ uname -a
Darwin Socrates 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment