repo.or.cz
/
ferm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
import-ferm: use module data from ferm
[ferm.git]
/
test
/
misc
/
stringex.ferm
blob
bea618442a14478eca65b488af4145fa775702b1
1
@def $A = foo;
2
@def $B = $A;
3
@def $C = '$A';
4
@def $D = "$A";
5
@def $E = "pre $D post";
6
@def $F = "another $C one";
7
@def $G = "$A double $C";
8
@def $H = bar;
9
10
@def &myfunc($p1, $p2) = LOG log-prefix "$p1:$p2:$H";
11
12
table filter chain INPUT {
13
LOG log-prefix $A;
14
LOG log-prefix $B;
15
LOG log-prefix $C;
16
LOG log-prefix $D;
17
LOG log-prefix $E;
18
LOG log-prefix $F;
19
LOG log-prefix $G;
20
&myfunc($A, 'abc');
21
}