title: How to print "\n" character using bash?
body: <p>I have a .csv file where some strings have some special characters like "\n" (new line).</p>
  
  <p>I'm using this script to extract the data from column 1 and 3:</p>
  
  <pre><code>while IFS=";" read f1 f2 f3 f4
  do
          echo "\"$f1\" = \"$f3\";"
  done &lt; file.csv &gt;file.txt
  </code></pre>
  
  <p>The main problem is that in some <strong><em>$f3</em></strong> I have the <strong><em>\n</em></strong> special character and I need to print it.</p>
  
  <p>At the moment, this script is omitting this character.</p>
  
  <p>e.g. If I have </p>
  
  <blockquote>
    <p>\nXPTO</p>
  </blockquote>
  
  <p>it will print</p>
  
  <blockquote>
    <p>XPTO</p>
  </blockquote>
  
  <p>and I would expect that would print</p>
  
  <blockquote>
    <p>\nXPTO</p>
  </blockquote>
  
  <p>Thanks</p>