From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: increasing speed of scripts Date: Sun, 21 Jan 2001 22:51:15 +0000 Organization: Customer of Energis Squared Lines: 13 Message-ID: References: <20010119100641 DOT A3666 AT kendall DOT sfbr DOT org> NNTP-Posting-Host: modem-176.silicon.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg1.svr.pol.co.uk 980117487 5778 62.136.13.176 (21 Jan 2001 22:51:27 GMT) NNTP-Posting-Date: 21 Jan 2001 22:51:27 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com JT Williams wrote: > All other things being equal, what could be done to increase the > execution speed of a complex series of shell scripts? For example: > > o source an included script with `. foo' than let foo run in its > own subshell (#!/bin/sh)? > > o convert small include scripts to functions within the main script? > > o integrate the scripts into as few files as possible? You could try this in comp.unix.shell ...