$) = &{sub{ my(@F,@G); while( @F = getgrent() ){ push(@G, $F[2]) if $F[3] =~ /\b$ENV{USER}\b/; } return join(' ', @G); } };
In reply to Re: Re: Fetching groups a user is in
by belg4mit
in thread Fetching groups a user is in
by belg4mit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |