title: Join Arguments - Escape Spaces
body: <p>Is there any easy way to "join" the arguments passed to a script? I'd like something similar to <code>$@</code>, but that passes the arguments at once.</p>
  
  <p>For example, consider the following script:</p>
  
  <pre><code>$/bin/bash
  
  ./my_program $@
  </code></pre>
  
  <p>When called as</p>
  
  <pre><code>./script arg1 arg2 arg3
  </code></pre>
  
  <p><code>my_program</code> will receive the arguments as 3 separated arguments. What I want, is to pass all the arguments as <em>one</em> argument, joining them — separated by spaces, something like calling:</p>
  
  <pre><code>./my_program arg1\ arg2\ arg3
  </code></pre>