#grgid(), #groupgid()
DESCRIPTION
returns a group's gid (as recorded in the system group file)
SYNOPSIS
#grgid(s)
#groupgid(s)
or:
#grgid(i)
#groupgid(i)
ARGUMENTS
s - a quoted string, or string expression, representing a group name
or:
i - an integer, greater than or equal to zero, representing a group id (gid)
EXAMPLES
# pikt +C 'output $text(#grgid("daemon"))'
2
rule
set #gg = #grgid($inlin)
rule
if #gg != %gg
output mail "for $inlin, gid has changed, was $text(%gg), is now $text(#gg)"
fi
SEE ALSO
#pwuid(), #passwduid()
#pwgid(), #passwdgid()
Numerical Functions
String Functions