title: In bash, how can I have a set of arguments in any random order? Like a key-value pair?
body: <p><strong>Example:</strong> </p>
  
  <pre><code>./myscript --ip 192.168.1.1 --port 1985
  </code></pre>
  
  <p><strong>or another possible</strong></p>
  
  <pre><code>./myscript --port 1985 --ip 192.168.1.1
  </code></pre>
  
  <p><strong>I want to allow my script to take a set of arguments, in any order</strong></p>
  
  <pre><code>./myscript a b c d
  ./myscript d c b a
  ./myscript b d a c
  </code></pre>
  
  <p>Etcetera </p>