From: Martin DeMello Date: 2007-03-13T17:54:03+09:00 Subject: Re: perl to ruby On 3/13/07, Bruce Woodward wrote: > For efficiency, wouldn't using the Etc module would be best? > > require 'etc' > user = ARGV[0] or abort "missing user name" > puts (if (Etc.getpwnam(user)).uid >= 1000 touche' :) martin