function

classfiltercsv

A built-in CFEngine function in the io category that returns a data container. classfiltercsv is not called from the policy on your hosts.

Signature
classfiltercsv(string, option, int, [int], ...)
Parameters
  1. string File name ("?(/.*))
  2. option CSV file has heading (true,false,yes,no,on,off)
  3. int Column index to filter by, contains classes (0,99999999999)
  4. int Column index to sort by (0,99999999999)
Variadic: at least 3 and at most 4 arguments.
Returns
data
Category
io