When doing recursive differences, I want to ignore the expected differences / translations - is there a way to do this with standard unix tools?
eg.
file1: 1 ... 2 /path/to/something/ver1/blah/blah 3 /path/to/something/ver1/blah/blah 4 ... file2: 1 ... 2 /path/to/something/ver2/blah/blah 3 /path/to/something/ver3/blah/blah 4 ...
I want to be able to do something like:
diff file1 file2 --ignore-transltion "ver1>ver2"
It should only show me that line 3 is different
Does anyone know how to do this? I can easily write a perl script to do this, but I will return to implementing most of the rest of the diff functions.
Update. My goal is to run this in directories with different versions of the same files with "diff -r" so that I can detect unexpected version differences.
source share