bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Re: Type-in programs using BASH]


From: Ryan Cunningham
Subject: Re: address@hidden: Re: Type-in programs using BASH]
Date: Mon, 26 Jan 2015 10:36:37 -0800

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 <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]