Handbook
Glossary
user-groups ( string/id -- seq )
Vocabulary
unix
.
groups
Inputs
string/id
a string or a group id
Outputs
seq
a
sequence
Word description
Returns the sequence of groups to which the user belongs.
Definition
IN:
unix.groups
GENERIC:
user-groups
( string/id -- seq )
Methods
USING:
math
unix.groups
unix.groups.private
unix.users
;
M:
integer
user-groups
user-name
(user-groups)
;
USING:
strings
unix.groups
unix.groups.private
;
M:
string
user-groups
(user-groups)
;