On Sat, 1 Apr 2023 davidson wrote:
Start here instead:
$ diff file1 file2
It displays the differences, and your terminal will wrap lines (and
break words) to fit the window for you.
Does it do what you want?
A concise explanation of diff's default output format (which is a
little cryptic but quite simple) can be viewed in the info browser
with
$ info -n "Detailed Normal" diffutils # type 'q' to quit
or written to a text file with
$ info -o diff_format_explained.txt -n "Detailed Normal" diffutils
--
We've been looking for the enemy for some time now. We've finally found him.
We're surrounded. That simplifies things. -- Chesty Puller