Here's what I've got now:

out=$(md5sum direct.tar.bz2
sed "s/sum: [0-9a-f]*/sum: ${out% *}/" ../build_integration.html > newfile

That's working except it adds a space after the new checksum.
That would be OK if it were just one space, but each time I run
the script another space is added.


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/b814e5db/attachment.html>