I'd like to merge two files by doing the following:
- Output the diff of the two files into a temp file and
- Manually select the lines I want to copy/save.
The problem here is that diff -u
only gives me a file lines of context, while I want to output the entire file in a unified format.
Is there any way diff can do this?