OT: case statements in sh

Bill Campbell bill at celestial.com
Tue Jan 24 17:40:52 PST 2006


On Tue, Jan 24, 2006, Jay R. Ashworth wrote:
>On Tue, Jan 24, 2006 at 07:15:45PM -0500, Bob Stockler wrote:
...
>> 
>> And if you really get techincal about it, the final ";;"
>> is not required (thought it looks pretty there, and makes
>> things "look better".
>
>It's not required by the interpreter.  But if you ever decide to
>re-sort your case blocks, you'll discover that it's very handy indeed
>to have around.  :-)

As a general rule, using a ``feature'' like that will always come
back to bite you in the butt, and be hard to find.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``I don't care how little your country is, you got a right to run it like
you want to.  When the big nations quit meddling, then the world will have
peace.''
    Will Rogers


More information about the Filepro-list mailing list