title: bash store output as a variable
body: <pre><code>grep -A 26 "some text" somefile.txt |
     awk '/other text/ { gsub(/M/, " "); print $4 }' |
     sort -n -r | uniq | head -1
  </code></pre>
  
  <p>will return the largest in a list pulled from a large text file, but how do I store the output as a variable?</p>