copying data from 2 files into 1 files and performing comparison
<p>I have 3 text files , the first one has these data :</p>

<pre><code>qry&gt; /opt/ADL_db/Users/mkhalil/PipeLineWork/2-OutputPlatesTest/20150615_062605.154_0_Front.Frontview.png
cls&gt; /opt/ADL_db/Users/mkhalil/PipeLineWork/1-OutputPlatesReference/20150612_061434.465_0_Front.Frontview.png       

qry&gt; /opt/ADL_db/Users/mkhalil/PipeLineWork/2-OutputPlatesTest/20150615_062606.990_0_Front.Frontview.png
cls&gt; /opt/ADL_db/Users/mkhalil/PipeLineWork/1-OutputPlatesReference/20150612_054413.737_0_Front.Frontview.png 
</code></pre>

<p>Second one has all the data of the qry :</p>

<pre><code>20150615_060636.255_0_Front.Frontview.png,,1461584960,AZ694HR
20150615_054400.428_0_Front.Frontview.png,,1461585426,BG018BH
20150615_065249.543_0_Front.Frontview.png,,1461585036,A0563BC
</code></pre>

<p>The third has all the data for the cls </p>

<pre><code>20150612_060101.766_0_Front.Frontview.png,,1461671421,CF765MP
20150612_073132.634_0_Front.Frontview.png,,1461669509,DR06
20150612_090622.440_0_Front.Frontview.png,,1461670755,BE555GB
</code></pre>

<p>is there is an easy way to open the second file and the third file and copy the annotation characters to the first file so that  the first file will be looking like this </p>

<pre><code>qry&gt; /opt/ADL_db/Users/mkhalil/PipeLineWork/2-OutputPlatesTest/20150615_062606.990_0_Front.Frontview.png AS776HX
cls&gt; /opt/ADL_db/Users/mkhalil/PipeLineWork/1-OutputPlatesReference/20150612_054413.737_0_Front.Frontview.png  BQ851ZE
</code></pre>