title: How to get contents from 2 files and append that contents to a new file using a shell script
body: <p>I have 2 files which look like this</p>
  <p>file1.txt</p>
  <pre><code>GYFUFGYO1  KMP-app   james@qt.com  CODE_SMELL
  GYFUFGYO2  KMP-app   james@qt.com  CODE_SMELL
  GYFUFGYG3  AFP-Login   nathan@qt.com  BUG
  GYFUFGYG4  AFP-Login   nathan@qt.com  BUG
  GYFUFGYO5  KMP-app   james@qt.com  CODE_SMELL
  GYFUFGYO6  KMP-app   james@qt.com  CODE_SMELL
  </code></pre>
  <p>file2.txt</p>
  <pre><code>MAC 135 2022-09-02-09:35
  </code></pre>
  <p>I have to append those contents(file1, file2) to file3.txt
  then <strong>expected output</strong> is</p>
  <pre><code>GYFUFGYO1  KMP-app   james@qt.com  CODE_SMELL MAC 135 2022-09-02-09:35
  GYFUFGYO2  KMP-app   james@qt.com  CODE_SMELL MAC 135 2022-09-02-09:35
  GYFUFGYG3  AFP-Login   nathan@qt.com  BUG     MAC 135 2022-09-02-09:35
  GYFUFGYG4  AFP-Login   nathan@qt.com  BUG     MAC 135 2022-09-02-09:35
  GYFUFGYO5  KMP-app   james@qt.com  CODE_SMELL MAC 135 2022-09-02-09:35
  GYFUFGYO6  KMP-app   james@qt.com  CODE_SMELL MAC 135 2022-09-02-09:35
  </code></pre>
  <p>this is what I tried</p>
  <pre><code>paste -s file1.txt file2.txt &gt; file3.txt
  </code></pre>
  <p>then output is (file3.txt)</p>
  <pre><code>GYFUFGYO1  KMP-app   james@qt.com  CODE_SMELL   GYFUFGYO2  KMP-app   james@qt.com  CODE_SMELL   GYFUFGYG3  AFP-Login   nathan@qt.com  BUG       GYFUFGYG4  AFP-Login   nathan@qt.com  BUG       GYFUFGYO5  KMP-app   james@qt.com  CODE_SMELL   GYFUFGYO6  KMP-app   james@qt.com  CODE_SMELL
  BAU 133 2022-09-02-09:35
  </code></pre>
  <p>Can someone help me to figure out this? Thanks in advance!</p>