Am I just the overly paranoid one? But IMO doing this can be dangerous.
Tainting isn't just for CGIs, and adding a -T to this shows it can be
dangerous ($ENV{PATH} issue, since you don't really know what uptime you will
end up calling). Again, I may be the overly-paranoid (read safe) one :)

Cheers,
Kevin

On Thu, Dec 20, 2001 at 12:16:49AM -0800, John W. Krahn ([EMAIL PROTECTED]) said 
something similar to:
> Or simply:
> 
> perl -le'print join",",(split/,/,`uptime`)[0..2]'
> 

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Stupidity is the basic building block of the universe.  
        -- Frank Zappa

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

Reply via email to