title: How to print bold text using printf?
body: <p>I want to print bold text using <code>printf</code>.  How do I do it?</p>
  <pre><code>printf '%s\n' &quot;\033[1m&quot;bold_text&quot;\033[0m&quot;
  </code></pre>
  <p>doesn't work.  It displays:</p>
  <pre><code>\033[1mbold_text\033[0m
  </code></pre>
  <p>However, the same string works fine with <code>echo -e</code>:</p>
  <pre><code>echo -e &quot;\033[1m&quot;bold_text&quot;\033[0m&quot;
  bold_text
  </code></pre>