title: bash script parameters
body: <p>I need to write a <strong>bash script</strong>, and would like it to parse <strong>unordered parameters</strong> of the format:</p>
  
  <pre><code>scriptname --param1 &lt;string&gt; --param2 &lt;string&gt; --param3 &lt;date&gt;
  </code></pre>
  
  <p>Is there a simple way to accomplish this, or am I pretty much stuck with $1, $2, $3?</p>