Re: OT: scripting help - can you check a string for starts with?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19Dec2007 12:17, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:
| Thanks to all that replied. My final solution is if/then/else's. Not as
| efficient as a case but does the job,

It's MUCH slower. Overuse of grep is one of the contributing factors to
the RedHat boot scripts' slowness.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Clarity in Communications:
    As of yesterday, the probe was spinning out of control at 80 rpm.
    This is bad.        - LM573C@xxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux