getfields
A built-in CFEngine function in the data category that returns an integer. getfields is not called from the policy on your hosts.
- Signature
getfields(string, string, string, string)- Parameters
stringRegular expression to match line (.*)stringFilename to read ("?(/.*))stringRegular expression to split fields (.*)stringReturn array name (.*)
- Returns
int- Category
- data