title: I would like to store all command-line arguments to a Bash script into a single variable
body: <p>Let's say I have a Bash script called <strong>foo.sh</strong>.</p>
  
  <p>I'd like to call it like this:</p>
  
  <pre><code>foo.sh Here is a bunch of stuff on the command-line
  </code></pre>
  
  <p>And I'd like it to store all of that text into a single variable and print it out.</p>
  
  <p>So my output would be:</p>
  
  <pre><code>Here is a bunch of stuff on the command-line
  </code></pre>
  
  <p>How would I do this?</p>