This has been getting the good half of my day and I am sure such a solution must exist (if not, then I am programming one), but alas, here is the question.
I have two files,
bduc.sorted.modules.txt. What I want to accomplish is show a side by side comparison of the two files where any changes that are not in either file are on its empty column. I do not want
diff to append to the same line with
| if they do not match.
Example output: http://pastebin.com/raw.php?i=sr20gyWz using
diff -y -W 100 hpc.sorted.new.list bduc.sorted.new.list
To further stress the point, if you look at the example, the line:
bfast/0.7.0a | bedtools/2.6.1
should not exist. Rather, they should be on separate lines with an empty row in either the left or right column.