cfengine/core — pull request #486 by tzz (2013-04-04 16:35:56+00:00)
Title: sprintf-like format: formatint, formatreal, formatstring

Missing: docs and sanity checking (I'd like to use the libbsd `fmtcheck` function; is that available on all our platforms? Or do I have to write a checker?). Right now it will core dump if you do formatint("%s", 100) for example, so it's not yet ready.