title: How to pass a long option to a bash script?
body: <pre><code>./script.sh -abc hello
  </code></pre>
  
  <p>How can I write my script to use '-abc' as the option and 'hello' as the value to that option?</p>
  
  <p>I should be able to pass this value to all the functions in this script. Lets say I have 2 functions: <code>X</code> and <code>Y</code>.</p>