title: Code for parsing a key/value in in file from shell script
body: <p>I have a file that I need to look up a value by key using a shell script. The file looks like:</p>
  
  <pre><code>HereIsAKey This is the value
  </code></pre>
  
  <p>How can I do something like:</p>
  
  <pre><code>MyVar=Get HereIsAKey
  </code></pre>
  
  <p>and then MyVar should equal "This is the value". The key has no whitespace and the value should be everything following whitespace after the key.</p>