title: Use "include" in a .ini config file
body: <p>I need your help. 
  I have two .ini-files with similar keys and values. I want them to be synchronized but more like merged. </p>
  
  <p>There will be change on both sides of those <em>.ini-files</em> so we can't create a synchronisation cause we won't overwrite the other side. Everything should be merged/synchronized automatically, <strong><em>while we change content on both ini-files!</em></strong></p>
  
  <p>The goal is always to change a ini-file in our headquarter and merge/sync it with a file on our cash desk.</p>
  
  <blockquote>
    <p>Example which cannot work: </p>
    
    <p><em>ini-file1.ini</em>, is on a cash desk and gets changed several times a day
    by the cash desk!</p>
    
    <p><em>ini-file2.ini</em>, is a dublicate of <em>ini-file1.ini</em> in our headquarter. We wanna be able to chnage <em>ini-file2.ini</em> during a change on the cash desk.</p>
    
    <p>The cash desk changed the receiptnumber <strong>in ini-file1.ini</strong> and we (headquarter) changed key2 <strong>in ini-file2.ini</strong>:</p>
    
    <p>ini-file1.ini:</p>
  
  <pre><code>key1 = 1;
  key2 = 2;
  receiptnumber: 122
  </code></pre>
    
    <p>ini-file2.ini:</p>
  
  <pre><code>key1 = 1;
  key2 = 4;
  receiptnumber: 118
  </code></pre>
    
    <p>And now we establish a synchronisation/merge between <strong>ini-file1.ini</strong> and <strong>ini-file2.ini</strong>.</p>
    
    <p>A merge-application cannot know which of those keys is the proper key
    and which one to discard and overwrite.</p>
  </blockquote>
  
  <p>Actually we thought we could investigate in a "insert/include" in one of those <em>ini-files</em> and outsource everything that comes from our second <em>ini-file</em>. So we got a object orieted ini-file. <strong>(My "ini-file oop concept")</strong></p>
  
  <h2>Should mean:</h2>
  
  <blockquote>
    <p><em>ini-file1.ini</em>, is on a cash desk and gets changed several times a day
    by the cash desk!</p>
    
    <p><em>ini-file-outsource.ini</em>, is just a part of the cash desk config file. We want it like attached to <em>ini-file1.ini</em> through a line like <strong><em>insert "C:\ini-file-outsource.ini";</em></strong> which doesn't exist, but we need something similar. It is everything which handles settings in the cashdesk, so this file is not
    changed by the cash desk. It's on the cash desk.</p>
    
    <p><em>ini-file2.ini</em>, is a dublicate of <em>ini-file-outsource.ini</em>. It's in our headquarter and used to change
    settings for the cash desk. </p>
    
    <p>ini-file1.ini:</p>
  
  <pre><code>key1 = 1;
  key2 = 2;
  receiptnumber: 122
  insert "C:\ini-file-outsource.ini";
  </code></pre>
    
    <p>ini-file-outsource.ini:</p>
  
  <pre><code>key3 = 3;
  key4 = 4;
  key5 = 8;
  </code></pre>
    
    <p>ini-file2.ini:</p>
  
  <pre><code>key3 = 3;
  key4 = 4;
  key5 = 8;
  </code></pre>
    
    <p>This time we establish a synchronisation between <strong>ini-file2.ini</strong> and
    <strong>ini-file-outsource.ini</strong>.</p>
  </blockquote>
  
  <p>This should work if it's possible to achieve cause we change only different content on every side. Every key will be unique.</p>
  
  <p>If you have any better approach I'm open for everything.</p>
  
  <p>Thanks for your help</p>