> I read somewhere that GNU was moving to C++.
>
> But I can rewrite this in C.
>
> --- Brian
You forgot to CC the list.
Also, consider the following:
- bash has one maintainer only
- the code you provided is just an example, it's not a patch against bash, so,
further work is needed to understand how to apply your suggestion to the
already working code.
- you give no examples of what your program does, or how it relates to bash
This means that probably your suggestion won't be accepted: it's too much work,
and the benefit is not clear.
Consider rewriting it as a patch against bash (use the -devel branch as a
reference), and explain clearly what it does and why it is useful. That
increases the likelyhood of having your suggestions get included into bash.