<div class="gmail_quote">On 20 September 2012 07:25, Tim McCloskey <span dir="ltr"><<a href="mailto:tm@freedom.com" target="_blank">tm@freedom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

You could use md5 but if the config file has other changes that you don't care about then this wont work.  Unless there is only one value that changes I don't see any other option except an external test, which whould be easy to implement.<br>

</blockquote><div><br></div><div>What would be really useful, I think, is the ability to specify a custom hash command using backticks.  Something like this:</div><div><br></div><div>client-local.cfg:</div><div>    file:/path/to/file:`/usr/bin/sed -n '/^var=/s/^var=//p' /path/to/file`</div>

<div><br></div><div>analysis.cfg:</div><div>    HOST=blabla</div><div>        FILE /path/to/file HASH="foo"</div><div><br></div><div>J</div></div>