Ivor O’Connor

April 16, 2010

Best “diff” utility?

Filed under: bash, diff, git, sdiff, vim — Tags: , , , — ioconnor @ 3:47 pm

I was noticing two files were containing the same information earlier and I wanted to compare them. Without thinking I did a diff on them. Then I got to thinking there must be more visual diffs. Git for instance. With all the diffs they do their it must be very nice. Unfortunately when I looked at git diff it seemed to only work for versions of the same file. If this is not the case please correct me. I then tried vimdiff. It’s nice but the default color scheme is not workable and I did not want to spend an hour playing with it. (Why don’t the vim folk make a nice little popup that lets you modify colors easily. DUH!) So then I used sdiff. sdiff seems to work most intuitively but it’s ancient.

Anybody have better solutions?

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: