how to write new columns on the side of old columns
<p>I want to make a script that extract two columns from  file-1 and them write them into file-2. However, If file-2 already contains columns, and want the new columns to be written on the side (of the current columns), and not at the bottom. My current script appends the "new" columns at the bottom of the current ones, instead of doing it on the side. How can I add the new columns on the side a not at the bottom?. Someone suggested CSV module, and I tried, but I could not figure out how to do it.</p>

<p>Here is my current code</p>

<p><a href="https://dl.dropbox.com/u/63216126/paula.txt" rel="nofollow">https://dl.dropbox.com/u/63216126/paula.txt</a></p>

<p>Here is the output file if I run the script once</p>

<p><a href="https://dl.dropbox.com/u/63216126/try2.txt" rel="nofollow">https://dl.dropbox.com/u/63216126/try2.txt</a></p>

<p>Here is the output file if I run the script twice (Keep in mind this is not want I want)</p>

<p><a href="https://dl.dropbox.com/u/63216126/try3.txt" rel="nofollow">https://dl.dropbox.com/u/63216126/try3.txt</a></p>

<p>Here is how I want the output to look after running the script three times </p>

<p><a href="https://dl.dropbox.com/u/63216126/try.txt" rel="nofollow">https://dl.dropbox.com/u/63216126/try.txt</a></p>

<p>Here are two input samples</p>

<p><a href="https://dl.dropbox.com/u/63216126/file5.txt" rel="nofollow">https://dl.dropbox.com/u/63216126/file5.txt</a></p>

<p><a href="https://dl.dropbox.com/u/63216126/file6.txt" rel="nofollow">https://dl.dropbox.com/u/63216126/file6.txt</a></p>

<p>I hope what I want to do is clear. Thanks a lot for the help.</p>
