[Ubuntu] Ignore Line Ending Differences in the Meld Tool

Recently I upgraded my Ubuntu VM to 10.04.02 amd64. The Meld tool, version 1.3.0, deals with the line ending differences in file view, while the version 1.1.5.1 (in my previous 08.04 32-bit Ubuntu VM) doesn’t show such differences.

Usually I need to compare files with the same name but different line endings (One is checked out from version control of Linux and the other is from Windows). I’d like to make CRLF and LF compare equal.

Solution:

Edit -> Preferences -> Text Filters -> New a patten with a name something like “line ending” and regex “\r+$” and check the Active check box. Refresh or restart the Meld.

One Response to “[Ubuntu] Ignore Line Ending Differences in the Meld Tool”

  1. Kyle Says:

    that’s great! thnx!

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s


%d bloggers like this: