Forum: CFEngine Help
Subject: Re: filecopy, transform with grep.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,22985,23031#msg-23031
If you really want to it this way then just use a commands promise. Then you
won't have to wait for a new feature to appear.
classes:
"do_update" ... => ... isnewer("$(resultfile)", "$(sourcefile)) ...;
commands:
do_update::
"/usr/bin/grop -v $(sourcefile) > $(resultfile)",
contain => in_shell;
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine