title: grep results: how to format output file with one result for each line
body: <p>I am parsing a text file with a grep command in bash. I would like to print the output in another txt file. I am using this line:</p>
  <p><code>grep 'ACCESSION' chrom_CDS_2.txt | awk '{print $0'\n'}' &gt; accession_out.txt</code></p>
  <p>The result in the accession_out.txt is like this:</p>
  <p><a href="https://i.stack.imgur.com/gyc3C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gyc3C.png" alt="enter image description here" /></a></p>
  <p>Instead if I open accession_out.txt in Microsoft Word I have the result that I have tried to format with my bash command:</p>
  <pre><code>ACCESSION   AC087816
  ACCESSION   AC091485
  ACCESSION   AC092153
  ACCESSION   AC092156
  ACCESSION   AC092159
  ACCESSION   AC092165
  ACCESSION   AC092176
  ACCESSION   AC092178
  ACCESSION   AC092206
  ACCESSION   AC092431
  ACCESSION   AC092455
  ACCESSION   AC092461
  ACCESSION   AC092533 AC027148
  ACCESSION   AC092567 AC040931
  ACCESSION   AC092569 AC068689
  ACCESSION   AC092570 AC060792
  ACCESSION   AC092573 AC015764
  ACCESSION   AC092575 AC018378
  ACCESSION   AC092587 AC023965
  ACCESSION   AC092598 AC027781
  ACCESSION   AC092603 AC073396
  </code></pre>
  <p>Could someone please explain to me how can I obtain the same visualization of Word editor in Notepad?</p>
  <p>Seems that Notepad disregard the '\n' tag.</p>
  <p>Thank you.</p>