bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Width not working with diff -y


From: Barry
Subject: Width not working with diff -y
Date: Sat, 21 Jan 2006 11:47:10 -0500

I think there's a bug in setting width for diff -y. I tried the command:

diff -y -W 2048 http://www.polisource.com
http://en.wikipedia.org/wiki/Main_Page

with GNU Diffutils 2.8.1, but line 119 of the second file was truncated even
though the line contains fewer than 2048 characters. That Wikipedia page
changes, so the problem might not be noticeable eventually. I tried
increasing -W by 1000 or 2000, which should have covered the missing
characters, but it wasn't enough. Changing -W to 8048 worked.

I actually did the diff through the graphical GNU diff web application that
I created at http://www.polisource.com/diffnote (still being debugged, but
almost done), but it uses the above command within the script.

Barry



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.21/236 - Release Date: 1/20/2006





reply via email to

[Prev in Thread] Current Thread [Next in Thread]