Allan Wermuth wrote: >I have tried to rewrite an old short Perl script, that reads a Unix >password file, and prints loginname and realname if the userid number >is greater than 100. The Perl script is here: require 'etc' Etc.passwd {|p| puts "#{p.name} #{p.comment}" if p.uid > 100} Although 1.8 says 'comment' is undefined method here on OS X ... A bit off topic, But I think one should use getent to enumerate users rather than the passwd file. Parsing anyhow will be needed.