[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
list iteration?
From: |
Mike |
Subject: |
list iteration? |
Date: |
Mon, 03 May 2004 14:50:23 -0000 |
User-agent: |
slrn/0.9.7.4 (Linux) |
I have read in the manual where you can define a variable
var = ( a : b : c)
and have the var iterated like a list in some shell command.
command::
"/bin/some/program $(var)"
At run-time how do you add something to the list such that
at the end it can be iterated over?
groups:
any::
var = (a : b : c)
editfiles:
any::
{ /etc/hosts
HashCommentLinesMatching "127.0.0.1"
var = ( $(var) : $(host) )
}
shellcommands:
changelog::
"cat $(var) >> /ChangeLog"
- list iteration?,
Mike <=
- Re: list iteration?, Luke A. Kanies, 2004/05/03
- Message not available
- Re: list iteration?, Mike, 2004/05/03
- Re: list iteration?, Luke A. Kanies, 2004/05/03
- Message not available
- Re: list iteration?, Mike, 2004/05/03
- Re: list iteration?, Steve Wray, 2004/05/03
- Re: list iteration?, Luke A. Kanies, 2004/05/05
- Re: list iteration?, Tod Oace, 2004/05/05
- Re: list iteration?, Luke A. Kanies, 2004/05/05
- Re: list iteration?, Tim Nelson, 2004/05/05