in reply to Re: Re: PleaSe WAIT for the process to end.
in thread PleaSe WAIT for the process to end.

if (/--*sl*e*e*p*=(\d+)/i) { $sleeptime = $1; next } if (/--*ex*i*t*/i) { $endfirst = 1; next } if (/--*ve*r*b*o*s*e*/i) { $verbose = 1; next } if (/--*he*l*p*/i) {

This is some really cool typo checking!


--sleeeeeeeeeee
--sleeeee
--slp
--sp

Useful for intoxicated Unix users everywhere!

Replies are listed 'Best First'.
Re: Re: Re: Re: PleaSe WAIT for the process to end.
by dominix (Deacon) on Jan 05, 2004 at 19:40 UTC
    I'm on the way off mastering GetOpt::Long, so in a few [put timeslice here] I'll change this to a better approach. BTW I'm also looking at POD in 5 minutes so it gonna get full featured system script :-)
    Update : Done - process consumed 1% cpu usage. perl has really EASY feature.
    --
    dominix
        Because I didn't knew ! :-)

        Now I know, and I'm on the way to rearrange the doc. Thanks for the link

        --
        dominix