In Unix, execute
diff -y file1 file2
can see two files side-by side. And execute
diff -c file1 file2
can see two files' difference with 3 line context. Execute
diff -y --supress-common-lines
can suppress all the common lines. But what if I want to display side-by-side but with 3 lines context? --supress-common-lines
will provide no context at all
diff -y -c file1 file2
will give me conflicting output style options
. Is there a way to achieve that?