title: concatenate inputs in bash script
body: <p>I would like to concatenate all the arguments passed to my bash script except the flag.</p>
  
  <p>So for example, If the script takes inputs as follows:</p>
  
  <pre><code>./myBashScript.sh -flag1 exampleString1 exampleString2
  </code></pre>
  
  <p>I want the result to be "exampleString1_exampleString2"</p>
  
  <p>I can do this for a predefined number of inputs (i.e. 2), but how can i do it for an arbitrary number of inputs?</p>