🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #114

Re: How to compile a shell script?

#114
From: Tom Christiansen
Date: Thu, 23 Jul 1992 03:43
20 lines
1421 bytes
From the keyboard of chung@cis.ohio-state.edu (Michael Chung):
:	Is there any way I can compile a shell script file so that it can
:run faster?

Not significantly.  The problem is that even if you compile something 
like:

    while read line; do
	echo `echo $line | tr ' ' '\12' | sort -n | tr '\12' ' '`
    done

It's still too damn slow.  You have to grok the logic and 
rewrite.  It needs a human.

--tom
-- 
    Tom Christiansen      tchrist@convex.com      convex!tchrist

BASIC: A programming language.  Related to certain social diseases in
that those who have it will not admit it in polite company.
Technical Details
Message-ID: <1992Jul23.034303.20282@news.eng.convex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!mips!apple!news.oc.com!convex!tchrist
References: <1992Jul21.121804.24643@cis.ohio-state.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.shell
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!mips!apple!news.oc.com!convex!tchrist
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: How to compile a shell script?
Message-ID: <1992Jul23.034303.20282@news.eng.convex.com>
Originator: tchrist@pixel.convex.com
Sender: usenet@news.eng.convex.com (news access account)
Nntp-Posting-Host: pixel.convex.com
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: CONVEX Realtime Development, Colorado Springs, CO
References: <1992Jul21.121804.24643@cis.ohio-state.edu>
Date: Thu, 23 Jul 1992 03:43:03 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.
Lines: 20