title: How to prompt user for input in shell script?
body: <p>I have a shell script in which I would like to prompt the user with a dialog box for inputs when the script is executed.</p>
  <p>Example (after script has started):</p>
  <pre class="lang-none prettyprint-override"><code>&quot;Enter the files you would like to install : &quot;
  
  user input : spreadsheet json diffTool
  
  where $1 = spreadsheet, $2 = json, $3 = diffTool
  </code></pre>
  <p>then loop through each user input and do something like</p>
  <pre><code>for var in &quot;$@&quot;
  do
      echo &quot;input is : $var&quot;
  done
  </code></pre>
  <p>How would I go about doing this within my shell script?</p>