Tagged Questions
3
votes
6answers
181 views
how to use patch and diff to merge two files
I have read about diff and patch but I can't figure out how to apply what I need.
I guess its pretty simple, so to show my problem take these two files:
a.xml
<resources>
<color ...
2
votes
1answer
58 views
Is there a way to define the preferred merge or diff tool under Unix?
I know that you can define the preferred editor by setting the EDITOR environment variable.
My question is if there is a similar solution for setting the preferred merge or diff tool.
4
votes
3answers
611 views
How do I “merge” two text files?
I recently upgraded from Ubuntu 12.04 to 12.10 and at one point, it encountered an Apache config file conflict in apache2.conf. I didn't give me a merge option at that point, so I just rejected the ...
1
vote
1answer
55 views
Program to upgrade configuration files
When upgrading Ubuntu (and probably other *nixes), the upgrade process will show a diff of changed configuration files and ask whether I'd like to replace them, keep the old version, or manually merge ...