On Fri, 31 Mar 2023 Susmita/Rajib wrote:
My dear illustrious leaders and senior debian-user list-members,

I tried diffuse, but it appears to me that it suffers from a
limitation so far as my need is concerned. It compares files by lines
and line numbers, so I can't use word-wrap to have the differences
between two files within the program window without venturing out to
the right within the two file windows.

 $ diff <(fmt file1) <(fmt file2)

fmt has a -w option to adjust the max line width. The default is 75.

Is there a way to Word Wrap? Am I making a mistake here? Which program
would be the best suited for my work for comparing text files?

It depends on your precise requirements, which we cannot know until
you tell us what they are. (Sometimes one does not know oneself. This
is also okay.)

I don't believe you have specified any of your requirements that the
solution above does not provide.

--
Hackers are free people. They are like artists. If they are in a good
mood, they get up in the morning and begin painting their pictures.
-- Vladimir Putin

Reply via email to