[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multi line iterator string?
From: |
Mark . Burgess |
Subject: |
Re: Multi line iterator string? |
Date: |
Tue, 22 Jun 2004 20:10:04 +0200 (MEST) |
You can use the ReadList() function in 2.1.7. But you'll have to look
at the snapshot. It will take me another week to get around to
releasing it.
M
On 22 Jun, Chip Seraphine wrote:
>
> I want to set an (iterator) variable to a list that is several hundred
> characters long. Obviously, I'd like to be able to wrap the line within my
> cfengine file. How can I safely do this for an iterator variable? I've had
> no luck trying things like:
>
> listvar= ( "item1:item2:item3:item4:\
> item5:item6:item7" )
>
> I suppose I could grab it from a file using a module or ExecResult or
> something, but I'd rather keep the information in the cfengine file.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~