mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 12:20:42 +01:00
Improve the readability of the ?ELSIF example
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f0b5ee4cdb
commit
74f831a73e
@ -1614,17 +1614,17 @@ SHELL cat /etc/shorewall/rules.d/*.rules 2> /dev/null || true</programlisting
|
||||
|
||||
<para>Example:</para>
|
||||
|
||||
<programlisting>?IF <replaceable>expression1
|
||||
<programlisting>?IF <replaceable>expression-1
|
||||
|
||||
</replaceable><lines to be included if expression1 evaluates to true (non-empty and non-zero)
|
||||
</replaceable><lines to be included if expression-1 evaluates to true (non-empty and non-zero)
|
||||
|
||||
?ELSIF <replaceable>expression12</replaceable>
|
||||
?ELSIF <replaceable>expression1-2</replaceable>
|
||||
|
||||
<lines to be included if expression1 evaluates to false (zero or empty) and expression2 evaluates to true
|
||||
<lines to be included if expression-1 evaluates to false (zero or empty) and expression-2 evaluates to true
|
||||
|
||||
?ELSIF <replaceable>expression3
|
||||
?ELSIF <replaceable>expression-3
|
||||
</replaceable>
|
||||
<lines to be included if expression1 and expression2 both evalute to false and expression3 evalutes to true
|
||||
<lines to be included if expression-1 and expression-2 both evalute to false and expression-3 evalutes to true
|
||||
|
||||
?ELSE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user