title: ORD and CHR a file in Bash
body: <p>I build <code>ord</code> and <code>chr</code> functions and they work just fine.
  But if I take a file that contains <code>\n</code>, for example:</p>
  
  <pre><code>hello
  CHECK THIS HIT
  YES
  </code></pre>
  
  <p>when I <code>ord</code> everything I don't get any new line values. Why is that? I'm writing in Bash.</p>
  
  <p>Here is the code that I am using:</p>
  
  <pre><code>function ord { 
      ordr="`printf "%d\n" \'$1`" 
  }
  
  TEXT="`cat $1`"
  for (( i=0; i&lt;${#TEXT}; i++ )) 
  do 
      ord "${TEXT:$i:1}" 
      echo "$ordr" 
  done
  </code></pre>