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

Cameron Simpson cs at zip.com.au
Thu Dec 20 05:00:27 UTC 2007


On 19Dec2007 12:17, James Pifer <jep at obrien-pifer.com> 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 at zip.com.au> 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 at gwuvm.gwu.edu




More information about the users mailing list