This is just not the way variable expansion is defined. Iteration occurs
only at specific locations.  

M

On Wed, 2005-08-10 at 15:22 +1200, Steve Wray wrote:
> I had thought that I could use list iteration like this:
> 
> somelist = ( foo:bar:baz" )
> 
> anotherlist = ("somefile:$(somelist).conf" )
> 
> and that this would expand to:
> 
> "somefile:foo.conf:bar.conf:baz.conf"
> when I used it in a 'files' action.
> 
> But it doesn't. It expands into:
> "somefile:foo:bar:baz.conf"
> 
> which is less useful to me.
> 
> I've been trying to figure out how to make it work as I want, but no
> luck so far.
> 
> Suggestions would be welcome!
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to