]> mj.ucw.cz Git - libucw.git/blob - lib/conf2.t
Fixed operator priorities in cf_parse_ip().
[libucw.git] / lib / conf2.t
1 # test config file
2 #include lib/conf2.t ; top.xa=1
3 #include 'non-existent file'; #top.xa=1
4 Top { \
5
6   nr1=16        #!!!
7   nrs1          2 3 5 \
8             7 11 13 \
9             \
10             17M
11   nrs2  3 3k 3 3 3 ; \
12   str1  "hello,\t\x2bworld%%\n"
13   str2  'Hagenuk,
14       the best' "\
15       " qu'est-ce que c'est?
16   u1    0xbadcafebadbeefc0
17   str2:prepend prepended
18   str2:append appended
19   d1 7%
20   d1    -1.14e-25
21   firsttime ; secondtime 56
22   ^top.master:set       alice HB8+
23   slaves:clear
24   ip 0xa
25   ip 195.113.31.123
26   look Alpha Gamma
27 };;;;;;
28
29 unknown.ignored :-)
30
31 top.slaves      cairns gpua 7 7 -10% +10%
32 top.slaves      daintree rafc 4 5 -171%
33 top.slaves      coogee pum 9 8
34 top.slaves:prepend      {name=bondi; level=\
35   "PUG"; confidence     10 10}
36 top.slaves:remove {name daintree}
37 top.slaveS:edit {level PUG} Bondi PUG!
38 top.slaveS:before {level pum}{
39   confidence 2
40   list 123 456 789
41 }
42
43 topp.a=15
44 top.nr1=   ' 15'
45 a { ;-D }