diff -y file1 file2
creates output like this:
I want to take this output and convert it to a CSV format where
- the text at left is in one column,
- the < or | or >, if any, is in the second column, and
- the text at right is in the 3rd column.
The point of this is to be able to use common productivity software to discuss diffs with non technical users that I cannot expect to install pull review software.
I am not married to diff
as the starting point to the solution if there are better options, but the outcome has to be a three column exportable file.