Similarly I have seen a lot people use

 cat somefile,txt | grep $SEARCH

when you could and should, for a number of reasons, use this

 grep $SEARCH somefile.txt



On Mon, 2012-07-16 at 07:59 -0400, Carl Wilhelm Soderstrom wrote:

> On 07/15 09:15 , Eric Crist wrote:
> > I agree with this, though the cat part isn't needed:
> > 
> > sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" template.html > output.html
> 
> Thank you for the 'aha!' moment this gave me. One of those things I should
> know, but never learned for whatever reason.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20120716/27c54492/attachment.html>