in reply to Getting rid of a temporary variable in AoH

Maybe you want to collaborate with cornelius80 who seems to be working on a quite similar dataset.

Update: Also, I would seriously look at getpwent and/or Passwd instead of hand-rolling my own parser for passwd files.