title: Shell scripting - Email script based on user input
body: <p>I want to create a email script that really is a texting script that is using the mail -x and sending to numbers. It would go something like this:</p>
  
  <pre><code>#/bin/sh
  
  Joe=8881235555
  Bob=8881235556
  
  echo "Who do you want to text?:(i.e. Joe, Bob, etc)"
  read name
  echo "What do you want to say?:)"
  read quote
  echo "texting $name with $quote"
  
  echo $variablequote | mailx -s "Text Message via email" $variablename@txt.att.net
  </code></pre>
  
  <p>How do I get that user input name to transfer in to a preset value?</p>