Eric Crist:<br>> On Jul 15, 2012, at 21:47:51, Brian Wood wrote:<br>
> <br>
>> Eric Crist:<br>
>> > I agree with this, though the cat part isn't needed:<br>
>> ><br>
>> > sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" template.html > output.html<br>
>><br>
>> I'm not sure that would work very well. It seems if I wanted to make<br>
>> changes not related to the checksum in the html file, I'd have to<br>
>> update the template file and then run sed to get the updates over<br>
>> to the final file.<br>
><br>
><br>
> I don't understand what you mean. If I do, then yes. Your template
file is where all your changes belong. The sed command <br>> (or a manual
one-off cut/paste) is done to update the checksum.<br>
><br>
> If you're updating both the HTML and the checksum often, you need something a bit more dynamic, I think, like a CGI script.<br>
<br clear="all"><br>I don't get it either. If I update template.html how does that update make it<br>to output.html other than by running sed? I'd rather not have to run sed to get <br>updates out that aren't related to the checksum.<br>
<br>Originally when I asked I thought maybe there's an html tag that <br>would take a file name and embed the file's contents into the page, <br>but I guess that doesn't exist. <br><br>-- <br>Brian Wood<br>Ebenezer Enterprises<br>
<a href="http://webEbenezer.net" target="_blank">http://webEbenezer.net</a><br><br><br><br><br><br>