il Sat, 20 Sep 2003 10:37:14 +0200,
yvon.thoravallist / -SUPPRIMEZ-free.fr.invalid (Yvon Thoraval) ha
scritto::

>As a first trial within ruby, i'd like to make a verys simple
>installer/uninstaller (on MacOS X).
>
>For that purpose, i need to get the user login name in order to build a
>path.
>
>from command line i get that name by :
>% users
>>yvonthor
>
>how could i get the same within ruby ???
not sure if this woeks on MacOSX, but I think it should:

On my box:
require 'etc'
Etc.getlogin #=> "gabriele"

BTW you could always do 
username=`users` 
to use the OS command