Paul Lussier <[EMAIL PROTECTED]> writes:

> Though I think Ben's idea is actually faster:
> 
>       $ time ifconfig eth0 | grep inet | awk -F: '{print $2}' | cut -f1 -d' '

Actually, all that does is time ifconfig.  Not very useful...

You might try:

  time sh -c '/sbin/ifconfig eth0 | grep inet | awk -F: "{print $2}" | cut -f1'



``Overhead of Perl''?  Ha ha...

--kevin
-- 
Kevin D. Clark                   |   Will hack Perl for
[EMAIL PROTECTED]   |  fine food, good beer,
                                 |       or fun.
                                 |


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to