title: Shell script isn't echoing result of command as expected
body: <p>I am trying to write a simple shell script, and one aspect of it involves outputting the result of an <code>lsrc</code> command. If you aren't familiar with <code>lsrc</code>, look here <a href="http://thoughtbot.github.io/rcm/rcm.7.html" rel="nofollow noreferrer">rcm</a></p>
  
  <p>Here is essentially what I am trying:</p>
  
  <pre><code>#!/bin/bash
  output=$(lsrc)
  echo "$output"
  </code></pre>
  
  <p>all I am seeing is an empty newline, where as running this command in a normal bash/zsh environment prints output to the screen.</p>