Re: extract uptime for linux box w/perl

2001-12-20 Thread Stef
Damn if you're gonna do it this way , why not just do: uptime Thus spake John W. Krahn on 20-Dec-2001 : -> perl -le'print join",",(split/,/,`uptime`)[0..2]' ~~~ E-Mail: Stef <[EMAIL PROTECTED]> Dat

RE: Optimizations.

2001-12-19 Thread Stef
If you take into account the amount of time you save in coding, one-liners are mostly faster. You can also add to that the time saved on future maintenance. Stef Thus spake Ryan Guy on 19-Dec-2001 : -> I want to get a consensus here. Do you think one liners are faster than -> more ext

RE: Remove a line - correction

2001-12-19 Thread Stef
s, e-mail: [EMAIL PROTECTED] -> -> -- -> To unsubscribe, e-mail: [EMAIL PROTECTED] -> For additional commands, e-mail: [EMAIL PROTECTED] -> -> -- -> To unsubscribe, e-mail: [EMAIL PROTECTED] -> For additional commands, e-mail: [EMAIL PROTECT