title: How to change a command line argument in Bash?
body: <p>Is there a way to change the command line arguments in a Bash script? For example, a Bash script is invoked like this:</p>
  <pre><code>./foo arg1 arg2  
  </code></pre>
  <p>Is there a way to change the value of arg1 within the script? Something like:</p>
  <pre><code>$1=&quot;chintz&quot;
  </code></pre>