Skip to content

Instantly share code, notes, and snippets.

@sbp
Created July 6, 2011 16:30
Show Gist options
  • Save sbp/1067672 to your computer and use it in GitHub Desktop.
Save sbp/1067672 to your computer and use it in GitHub Desktop.
Supercombiner filename diffs on OS X
$ diff file-before.txt file-after.txt
1a2,3
> xcd
> x8f
77a80,89
> xcd
> x87
> xcd
> x88
> xcd
> x89
> xcd
> x8d
> xcd
> x8e
127,130d138
< x95
< xcc
< x9a
< xcc
140,151d147
< xcd
< x8f
< xcd
< x87
< xcd
< x88
< xcd
< x89
< xcd
< x8d
< xcd
< x8e
161a158,161
> xcc
> x95
> xcc
> x9a
$ diff abc01.txt abc02.txt
1a2
> u034f
39a41,45
> u0347
> u0348
> u0349
> u034d
> u034e
64,65d69
< u0315
< u031a
71,76d74
< u034f
< u0347
< u0348
< u0349
< u034d
< u034e
81a80,81
> u0315
> u031a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment