On 12.04.2011 08:33, no-re...@cfengine.com wrote:

>      "nameserv"      slist  =>  grep (
>        "^[^\s]+$",
>        splitstring (
>          join("${separator}${prefix}", "temp_namelist"),
>          "$(separator)",
>          "99999999999"
>          )
>        );

This won't work due to limitation of Cfengine -- grep expects _name_ of 
array as a second argument, so you need a temporary variable to gather 
value returned by splitstring.

-- 
Mikhail Gusarov
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to