$grmem(), $groupmem(), $grmembers(),
$groupmembers()
DESCRIPTION
for a given group name, or group id (gid), returns the corresponding group members
(as recorded in the system group file)
SYNOPSIS
$grmem(s)
$groupmem(s)
$grmembers(s)
$groupmembers(s)
or:
$grmem(i)
$groupmem(i)
$grmembers(i)
$groupmembers(i)
ARGUMENTS
s - a quoted string, or string expression, representing a group name
or:
i - an integer, or integer expression, greater than or equal to zero,
representing a group id (gid)
EXAMPLES
# pikt +C 'output $grmem("wheel")'
root,tom,dick,harry
# pikt +C 'output $grmem(0)'
root
rule
if $grmem("root") eq ""
output mail "in group, root has no members!"
fi
SEE ALSO
$grname(), $groupname()
$grpassword(), $grouppassword()
String Functions
Numerical Functions