Le 5969 Septembre 1993, flex a envoyé:
> Is there anybody can help me ?

May be using an associative array ?

--8<---------------cut here---------------start------------->8---
bundle agent replace()
{
vars:
    "replacement[This] string => "111";
    "replacement[is]   string => "222";
    "replacement[test] string => "333";

    "patterns" slist => getindices("replacement");
}
--8<---------------cut here---------------end--------------->8---

I hope it will help you.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpxIEjzCgjgO.pgp
Description: PGP signature

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

Reply via email to