On Monday, February 1, 2016, Daniel J. Luke &lt;<a href="mailto:dluke@geeklair.net">dluke@geeklair.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Feb 1, 2016, at 3:09 PM, René J.V. Bertin &lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;rjvbertin@gmail.com&#39;)">rjvbertin@gmail.com</a>&gt; wrote:<br>
&gt; As an example of a potentially non-trivial file for automatic checksum updating<br>
<br>
I don&#39;t think this would be as hard to implement as you seem to think it would be.<br>
<br>
As a first try, a really simple s/$oldchecksum/$newchecksum/ would probably work (I&#39;m perhaps not creative enough to think of a use-case where that would false-positive and change something unintended).<br>
</blockquote><div><br></div><div>I will try to check in a tool I&#39;ve used to automate this later tonight; I just need to find a few moments to put the macports license boilerplate in it first. It is a python script that drives the port command to determine what (if any) checksums need to be updated for a port, and then uses sed to actually (s/old/new/) update<span></span> it. It runs sed with no backup, so it is best used in an svn version so you can see what it has changed. (Or it could be modified to create a backup file easily enough.)</div><div><br></div><div>  - Eric </div>