function

First seen , last seen .

countlinesmatching

See also: countlinesmatching (function-call)

A built-in CFEngine function in the io category that returns an integer. countlinesmatching is called 10 times from 7 bundles and bodies in 3 policy files, on 100 hosts in your infrastructure.

Signature
countlinesmatching(string, string)
Parameters
  1. string Regular expression (.*)
  2. string Filename ("?(/.*))
Returns
int
Category
io