--- "Balint, Jess" <[EMAIL PROTECTED]> wrote:

> Hello all. I am working on a script ON UNIX!

Don't scream... many Perl programmers use Unix, its
quite common actually.

> that needs the current username. Is there any
> environment variable that has this?

You are looking for $< (Real) and $> (Effective)
which give the numerical values. You can look up
usernames via getpwent().

perldoc op

> Or am I doomed to parsing `who am i`? TIA.

You need some therapy mate... all these negative
thoughts.  Think positively! :P

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to