diff -I option does't work for me when there is an mismatch before skipped lines.
File1:
a1 * b File2:
a2 * c $ diff -I '*' File1 File2
< a1 < * b > a2 > * c But if in both files the first line is "a1", the output will be clear. Is there any suggestions how to skip lines when there is an mismatch before that lines? Thanks.
diff -I '*' File1 File2should skip* blines, but it does not. Hence the question is "how to do it", as when the first line is equal it does skip it.diff -I '*' File1 File2