Thursday, March 18, 2010

Increase Side-by-side Diff Width for

For some reason, I always lived with --side-by-side diff getting chopped-off. I've found a new friend with specifying -W number or --width=number:
diff -b -y -W 280 file1 file2
Or the more lengthy version:
diff --side-by-side --width=280 --ignore-space-change file1 file2
Yes, there are nice graphical ones, but this works for me.

No comments: