title: How to use sed to replace multiple chars in a string?
body: <p>I want to replace some chars of a string with sed.</p>
  
  <p>I tried the following two approaches, but I need to know if there is a more elegant form to get the same result, without using the pipes or the <code>-e</code> option:</p>
  
  <pre><code>sed 's#a#A#g' test.txt | sed 's#l#23#g' &gt; test2.txt
  sed -e 's#a#A#g' -e 's#l#23#g' test.txt &gt; test2.txt
  </code></pre>