title: Capitalize strings in sed or awk
body: <p>I have three types of strings that I'd like to capitalize in a bash script.  I figured sed/awk would be my best bet, but I'm not sure.  What's the best way given the following requirements?</p>
  
  <ol>
  <li><p>single word<br>
   e.g.  <code>taco -&gt; Taco</code></p></li>
  <li><p>multiple words separated by hyphens<br>
   e.g.  <code>my-fish-tacos -&gt; My-Fish-Tacos</code></p></li>
  <li><p>multiple words separated by underscores<br>
   e.g.  <code>my_fish_tacos -&gt; My_Fish_Tacos</code></p></li>
  </ol>