Hi all OK, I admit this must be *dumb*, but I cannot get out of this...
Suppose I have an array of lists: "array[key1]" slist => { ... } ; "array[key2]" slist => { ... } ; . . . "array[keyN]" slist => { ... } ; and suppose that $(selector) contains one of the keys. Given that, I'd like to expand the list in $(array[$(selector)]) into a separate list. I tried everything I thought sensible, but with no much success to be honest: e.g.: "list" slist => { "@(array[$(selector)])" } ; seems not to do exactly that; rather, it's creating a "reference" to that list; "list" slist => { @(array[$(selector)]) } ; "list" slist => { @($(array[$(selector)])) } ; don't work at all. Suggestions? Thanks -- M _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine