title: Print unicode hex code which is part of basic latin as a symbol in Bash
body: <p>I have a list containing a mix of symbols and unicode numbers (all of length four), of which some are part of basic latin. I want to print them all as symbols.</p>
  
  <p>An example of my failed attempt using Bash (under Cygwin):</p>
  
  <pre><code>list="0 3 4 5 005e 0060 00ff"
  $ for c in $list; do [[ ${#c} = 4 ]] &amp;&amp; env printf "\\u$c\n" || echo $c; done
  0
  3
  4
  5
  printf: invalid universal character name \u005e
  005e
  `
  ÿ
  </code></pre>
  
  <p>I get the same problem regardless of locale and encoding in the terminal.</p>
  
  <p>I can not get the answer for this problem from askununtu to work: <a href="https://askubuntu.com/questions/20806/why-does-printf-report-an-error-on-all-but-three-ascii-range-unicode-codepoint">https://askubuntu.com/questions/20806/why-does-printf-report-an-error-on-all-but-three-ascii-range-unicode-codepoint</a></p>