canonify
Prototype: canonify(text)
Return type: string
Description: Convert an arbitrary string text
into a legal class name.
This function turns arbitrary text into class data.
Arguments:
text
: String containing non-identifier characters, in the range.*
Example:
commands:
"/var/cfengine/bin/$(component)"
ifvarclass => canonify("start_$(component)");
See also: classify()).