How to find diff of two files but only show lines which have common starting string?
For example, file1:
start1 1234
1234
start2 1234
file2:
start1 ABCD
ABCD
start2 ABCD
And the diff should be just:
> start1 1234
---
< start1 ABCD
> start2 1234
----
< start2 ABCD
or something like this:
start1
start2