#not()
DESCRIPTION
returns TRUE if the given condition is FALSE (0);
else FALSE if the given condition is TRUE (non-zero)
SYNOPSIS
#not(x)
ARGUMENTS
x - a logical value, or logical expression
EXAMPLES
# pikt +C 'output $text(#not(#false()))'
1
# pikt +C 'output $text(#not(#true()))'
0
rule // bogus shell
if #and(#not($shell eq ""), #not(-e $shell), #not(#sysacct),
#not($user =~ "^(=nobody)$"))
output mail "User $user has nonexistent shell ($shell):"
output mail " $inline"
endif
SEE ALSO
#and()
#or()
#true()
#false()
#if()
Numerical Functions
String Functions