I use the following sdiff command to get the difference between two files. Column width is set as one of the options
sdiff -w170 / tmp / captureFile / tmp / referenceFile (or diff -y)
if I use -w 130 then some characters are deleted. They do not appear on the output line even on the next line. They are lost.
And if -w 170 is used, then due to additional characters in the left column, the right column is shifted, and so few of its characters are visible on the left side of the column due to the smaller screen width.
So, is there an option not to separate characters, and then on the next line in the same output column of the sdiff command?
source
share