Is there a way to add padding to a diff result in unix so number of "< .." lines will be equal to number of "> .." lines?
For example, if the original result is:
9a10
> "line which exists only in one file"
The changed result would be:
9a10
< "noMatch"
---
> "line which exists only in one file"
And if you wrote code to do that what would you do with the output? (What I'm asking is: what are your trying to acheive? --the answer is not "padding diff output")
Maybe
diff -y
is what you want, to give you some sort of answer.