Subject: Re: rc_subr optimization
To: Luke Mewburn <lukem@NetBSD.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-userlevel
Date: 08/13/2004 09:31:24
FWIW the mechanism I use for this sort of thing is; in foo.sh

_FOO_SH=:

and then just include with:

$_FOO_SH . foo.sh

and foo.sh will only be included once.

--sjg