Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim filter |
2 | ||
3 | testprint "Testing \ | |
4 | <" | |
5 | ||
6 | testprint | |
7 | ">${sg{\ | |
8 | ${readfile{DIR/aux-fixed/abcd-xyz}{|}}\ | |
9 | }\ | |
10 | {\\N\\|(\\||\$)\\N}\ | |
11 | {$1}\ | |
12 | }<" | |
13 | ||
14 | if "something seven" matches | |
15 | "${sg{\ | |
16 | ${readfile{DIR/aux-fixed/abcd-xyz}{|}}\ | |
17 | }\ | |
18 | {\\N\\|(\\||\$)\\N}\ | |
19 | {$1}\ | |
20 | }" | |
21 | ||
22 | then testprint "yes" else testprint "no" endif |