I have two properties files that are not the same and I need to find the differences. The second file is sorted by key.
Is there a tool that can help me with it? From what I’ve seen every merge tool cares very much about the order.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve done it in bash on Linux by sorting both files and then merge them. If you are on Windows you could install Cygwin for running Linux programs.
However, I think you are best served by creating a small program to do it, probably takes you less time than learning to use Cygwin.
Edit: You could look at it as a small project to learn a new technology. I often use projects like these to learn things like Ruby or Python. Although it may not be accepted if it is at work.