Issues.00298 - lordmundi/wikidoctest GitHub Wiki
00298: add ability to nest environment variables in config files
Summary: add ability to nest environment variables in config files
Created: 2010–11–18 10:58
Status: Released
Category: Request
From: frankie
Version: 2.1
Released_In: 2.2
Description:
currently, uses can have some dynamic capability using variables, such as ${MYVAR}. Sometimes, it is useful to define various strings into variables, and then use a variable to select which string you want, which would require a nested variable selection, such as:
...
command_line
{
-params ${${DISP}_params}
}
...
which would let us define "bob_params", "mary_params", "joe_params", and then when running, select "DISP" to be either bob, joe, or mary and get the right parameter string.
Comments
frankie November 30, 2010, at 04:02 PM: This was actually a duplicate of Issue Issues.00292. See that page for documentation.