Hello all:
I want to compare two folders by script like this "diff -yr folder1 folder2",but I find there are two problems in the result which is not what I want,please help me.
Problem One:
If there are two line is different,and every line is too long, the result will be shown like this "lineA ........... | lineB .........." ,in this case,every line will not be integrated.
Problem Two:
Because of using the parameter "-r",when the command "diff" get more than one different lines,some script in the right part of the line will be shown in the result,for example "lineA | lineBdiff -yr folder1/file33 folder2/file44".
How can I improve it?Please help me,thanks!