I mean that the program would be loaded in the same manner in which Bash would
execute any other object-code program that isn't loaded /into/ Bash as a
builtin, like "ls", "su", and "dirname", all from GNU Coreutils.
--
Sent from my iPod
> On Jan 26, 2015, at 10:25 AM, Greg Wooledge <wooledg@eeg.ccf.org> wrote:
>
>> On Mon, Jan 26, 2015 at 10:14:19AM -0800, Ryan Cunningham wrote:
>> Sorry, I forgot to state that it could also be saved by an object code
>> editor and loaded then like you would load any other program in object code.
>
> Bash doesn't run object code, except in one very unusual situation:
> a user-supplied loadable builtin.
>
> There's relatively little information on those because they are so
> seldom used. Here's a small set of URLs:
>
>http://cfajohnson.com/shell/articles/dynamically-loadable/
>http://mywiki.wooledge.org/BashLoadable
>http://cfajohnson.com/shell/bash/loadables/
>
> I don't see any direct connection between here documents and loadable
> builtins, though.