title: how to use control characters in bash alias definition
body: <p>I am having a problem in defining an alias in bash.</p>
  
  <p>I am writing the alias as:</p>
  
  <pre><code>alias mypr="enscript -jC -p output.ps -b '$n %W Page $% of $='"
  </code></pre>
  
  <p>But when I type alias mypr, I am getting this (the $n is vanishing, and some extra quotes are coming in):</p>
  
  <pre><code>alias mypr='enscript -jC -p output.ps -b '\'' %W Page $% of $='\'''
  </code></pre>
  
  <p>I tried looking at the answer at <a href="https://stackoverflow.com/questions/53398792">53398792</a>, but cant figure out what mistake I am making. Suggestions please?</p>