Hello
First of all, thank you for your time with this email. I don't have a great
english, if is hard understand me, my apologies.
I have a personal project ( ProyectoInvierno
<https://www.github.com/shyanjmc/ProyectoInvierno> ) and I am trying to add
a new builtin to BASH.
Investigating I found that the source code is under;
"bash-[version]/builtins" created as ".def" files (with a similary struct
to headers) and under "Makefile.in" are specified the output object files
(from 277 line number) and then the headers file for each one.
*But I have here some questions*:
1- Why is specified the headers file inside "Makefile.in" for ".def" file?
The same can not be specified as "#include<xxx.h>" inside the ".def" file?
2- How I can add a new builtin to BASH? Is enogh to add a .def file in
"builtins" directory and then specify the respective entries inside
Makefile.in ? Or what more I should modify/add in which file for add a new
builtin?
*JoaquÃn Manuel Crespo.*
Gnu/Linux SysAdmin / C developper