This is the content of one.txt (REMARK: ignore the first line containing \\; I was unable to put blank lines at the start of code while writing the question. So the file starts from the second line, i.e. 2 blank lines, then one, then two, then 9 blanks and then three)\\  onetwo  threeThis is the content of two.txt (REMARK: same as above, i.e. three blank lines, then one, blank line, two, blank line, three)  \\one  twothree  So when I do diff -B one.txt two.txtI get the output3,10d2< one< two< < < < < < 11a4> one12a6> twoAnd when I do diff -B two.txt one.txtI get an empty output, i.e. no difference between the 2 files.What is happening? Shouldn't diff command be symmetric?
diff -B command is not symmetric?
diff