interview questions on sed or awk
<p>Hi I recently crashed and burned on a interview question on file editing. Kinda been bugging me. I searched on the forum but did quite get it to go. </p>

<p>The question was:</p>

<p>testfile.txt has the following:</p>

<pre><code>     some test text 1
     some test text 2
     some test text 3
</code></pre>

<p>Change testfile.txt so it can look like this (with out using VI or gedit):</p>

<pre><code>     some test text 1
     some more test text
     some test text 2
     some more test text
     some test text 3
     some more test text
</code></pre>

<p>I have tried to use sed and awk but the text does not come out where it needs to be. Any help would be greatly appreciated.</p>