Forum: Cfengine Help
Subject: Re: Reading/Importing Just one line from csv file
Author: charming88
Link to topic: https://cfengine.com/forum/read.php?3,22039,22317#msg-22317
Now, what have I earned since I timberland boots for men went into politics?
Well, here it is. I've jotted it down. Let me
Forum: Cfengine Help
Subject: Re: Reading/Importing Just one line from csv file
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,22039,22061#msg-22061
In your promise, reference the array as a string. The promise will be applied
to each item.
Here is an example:
http:/
Forum: Cfengine Help
Subject: Re: Reading/Importing Just one line from csv file
Author: joe77
Link to topic: https://cfengine.com/forum/read.php?3,22039,22060#msg-22060
Thanks for your reply. One more question: How can i loop over an array?
___
Help-cfe
Forum: Cfengine Help
Subject: Re: Reading/Importing Just one line from csv file
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,22039,22041#msg-22041
One way to do it is to use the comment parameter of readstringarray to ignore
all the lines except the one you want. Here's an e