Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!dcdwest!ittvax!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: Relative speed of Bourne vs. C Shells - C Shell is faster. Message-ID: <9553@brl-tgr.ARPA> Date: Thu, 28-Mar-85 16:10:05 EST Article-I.D.: brl-tgr.9553 Posted: Thu Mar 28 16:10:05 1985 Date-Received: Tue, 2-Apr-85 00:15:15 EST References: <216@sdcc12.UUCP> <12138@watmath.UUCP> <1778@seismo.UUCP> Organization: Ballistic Research Lab Lines: 22 > ... Here are two shell > scripts (made to make tail act like head) go ahead, run em, make my day.. I took the Tiberio challenge and the Bourne shell script was slightly faster than the Cshell script, but not much. There are really two good reasons for using the Bourne/Korn shell for scripts: (1) The shell is available on every post-Sixth Edition UNIX. (2) It has a formal grammar. The usual arguments: (3) It is faster. (4) It is more readable. aren't nearly as important. I think the real question is, why doesn't AT&T further upgrade the Bourne shell a la Korn so that there is nothing that the Cshell has left to offer. The major functional differences so far have been: (a) History. Still not in Bourne shell but okay in Korn. (b) Job control. Added to Bourne shell at BRL, also in Korn. (c) Aliases. Pretty much remedied by SVR2 shell functions. (d) Lots of speed hacks. Now in Bourne shell also.