Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
On 1/16/18 10:29 AM, Samadi van Koten wrote:
> Hi,
>
> I'm in the process of trying to write some builtins for Bash. I've
> installed the bash-builtins Debian package and used its headers to write a
> few simple tests, but my latest experiment is proving rather more
> difficult: I'd like to write a builtin that runs other bash commands, which
> could be builtins, functions or executables.
The easiest path to where you want to go is parse_and_execute().
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/