Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Getting a GID from /etc/groupby gryphon (Abbot) |
on Mar 25, 2002 at 17:25 UTC ( [id://154155]=note: print w/replies, xml ) | Need Help?? |
Greetings c, What others have posted already would be smarter than what I'm going to suggest. However, in the interests of contribution of all ideas, even ones that are fairly basic, here's another option:
Using getgrnam is a much better option, though. My way here assumes way too much and could therefore fail in many situations. -gryphon
In Section
Seekers of Perl Wisdom
|
|