On Thu, Dec 14, 2000 at 01:59:42PM +0900, WATANABE Hirofumi wrote:
> 
> Use Etc module.
> 
> % ruby -r etc -e 'p Etc.getpwnam("root")'
> #<Struct::Passwd name="root", passwd="x", uid=0, gid=0, gecos="", dir="/root", shell="/bin/sh">
> 
> See ext/etc/etc.txt for more information.


eban,

yes, that's exactly what i needed.  thanks for the tip.  

by the way, what is the philosophy behind the stuff in ext/?  i haven't 
it mentioned in the library reference.

---Matt