title: A shell script to run a process on linux
body: <p>Problem:
  I am very new to shell scripting. I have two directories A and B, each containing a about 100 files. The files in folder A and B have the exact same names, but differ in content as they are xml responses from different servers.
  I have a xmldiff utility that will find the differences in these files and generate another file result.xml for the differences and it works with following command:</p>
  
  <pre><code> xmldiff A/file1.xml B/file1.xml Result/result1.xml
  </code></pre>
  
  <p>So, I need a shell script that will loop over folder A and B, pick filename1 from each folder,
  pass it to xmldiff and get result.xml....(for all 100 files)</p>