[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add a new internal command to BASH
From: |
Pierre Gaston |
Subject: |
Re: Add a new internal command to BASH |
Date: |
Fri, 23 May 2008 11:20:30 +0300 |
On Fri, May 23, 2008 at 5:56 AM, Abhinandan <nandu.mys@gmail.com> wrote:
>
> Hi,
> thats not what i intend to do. I want to write my own command and compile
> the bash source and then run that command as bash built in command
>
Have a look at the bash source code tarball, you will find several
example of bash builtin that
can be dynamically loaded using the "enable" builtin (I think linking
them statically is also possible).
Unfortunately there is almost no documentation beyond the examples and
the source itself,
it is not too difficult to dive into the code though.