Paolo Bonzini wrote:
I'm not sure that the complexity of C programs will be smaller than the complexity of grep <=2.18's machinery.
Unfortunately that machinery wasn't clearly separated from everything else, and this was confusing. Having it be a separate script will make it clearer. A nice plus is that the scripts are tiny.
One remaining problem with C wrappers is that they make the grep installation non-relocatable and "non-separable".
They are still relocatable in the sense that if you move grep + egrep + fgrep together to some other directory, they'll continue to work together in the typical case. That's good enough for a hack to support an obsoleted interface.
