2009-10-10 16:17:24 +00:00
|
|
|
# variable interpolation test
|
2009-10-10 16:21:31 +00:00
|
|
|
me=blah
|
|
|
|
|
pr=$me/blubber
|
2009-10-10 16:17:24 +00:00
|
|
|
<vars>
|
|
|
|
|
base = /usr
|
|
|
|
|
uid = 501
|
|
|
|
|
</vars>
|
|
|
|
|
|
2009-10-10 16:38:28 +00:00
|
|
|
base = /opt
|
2009-10-10 16:17:24 +00:00
|
|
|
<etc>
|
2009-10-10 16:38:28 +00:00
|
|
|
base = /usr # set $base to a new value in this scope
|
2009-10-10 16:17:24 +00:00
|
|
|
log = ${base}/log/logfile # use braces
|
|
|
|
|
<users>
|
2009-10-10 16:38:28 +00:00
|
|
|
home = $base/home/max # $base should be /usr, not /opt !
|
2009-10-10 16:17:24 +00:00
|
|
|
</users>
|
|
|
|
|
</etc>
|
2009-10-10 16:26:40 +00:00
|
|
|
|
|
|
|
|
# block(name) test
|
|
|
|
|
tag = dir
|
|
|
|
|
mono = teri
|
|
|
|
|
<$tag>
|
|
|
|
|
bl = 1
|
|
|
|
|
</$tag>
|
|
|
|
|
<$tag mono>
|
|
|
|
|
bl = 2
|
|
|
|
|
</$tag>
|
|
|
|
|
<text $mono>
|
|
|
|
|
bl = 3
|
|
|
|
|
</text>
|
|
|
|
|
<$tag $mono>
|
|
|
|
|
bl = 3
|
|
|
|
|
</$tag>
|