File1:
1;1
2;2
3;3
File2
2;3
3;3
4;4
“Diff” will produce:
1,2c1
< 1;1
< 2;2
---
> 2;3
3a3
> 4;4
and the usage of “patch” would lead to
2;3
3;3
4;4
Is there any possibility to display the deleted lines (1;1) too? Is it possible to add a prefix to any line appearing in the patch file as
(DEL-1;1)
UPD-2;3
UNC-3;3
INS-4;4
and the usage of standard tools?
Many thanks in advance
I think unified diff format
diff -u, will give you the information you want.