(getpwuid($<))[3]
Only returns the first. Ideally it should be useable as:
$) = expression
Thanks!
In reply to Fetching groups a user is in by belg4mit