Patrick McCabe: > You can use ${out%% *} to get rid of the additional space. Thanks, that worked. Eric Crist: > 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 I'm not sure that would work very well. It seems if I wanted to make changes not related to the checksum in the html file, I'd have to update the template file and then run sed to get the updates over to the final file. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20120715/ebb600d3/attachment.html>