<p>Are there any alternatives to <a href="https://github.com/garabik/grc" rel="nofollow">grc</a> in golang?</p>
<p>Examples:</p>
<p>```sh</p>
<p>alias free='grc -es --colour=auto /usr/bin/free'</p>
<p>alias df='grc -es --colour=auto /usr/bin/df'</p>
<p>free -h # Get colored output</p>
<p>df -h # Get colored output</p>
<p>```</p>
<hr/>**评论:**<br/><br/>xargon7: <pre><p>It's not as fancy as grc, but some bash aliasing may be able to achieve similar results with <a href="https://github.com/augustoroman/highlight" rel="nofollow">https://github.com/augustoroman/highlight</a>.</p></pre>
