Improve file comparison in regression tests
#23 (closed) was fixed by !24 (merged) by ignoring all whitespaces in the files to compare. It would be safer to only ignore changes in whitespaces using something like
diff -bB <(sed 's/^[ \\t]*//' file1) <(sed 's/^[ \\t]*//' file2)
as explained on StackOverflow. When working on !24 (merged) this did not work out immediately because newer preCICE versions do not only change existing spacing widths but also add spacing at the beginning of a line.
Edited by Alexander Jaust