#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
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
Learn about
include
files