Are batch/bash scripts really worth it?
I recently ran into an issue where I was working on a bash script that involved some fairly complex text processing and directory traversal. About half way into the whole affair I realized something. I already have tons of well-tested C++ code at my disposal to do all this stuff...so why on earth am I even bothering with these incredibly limited scripting languages? Just write the damn thing in C++ and pass all the command-processor calls to the system() function.
The results have been quite satisfying. Not only has it been much easier to automate tasks, but it's also made writing platform-agnostic scripts possible. I'm even toying with the idea of replacing make files using this approach.
Has anyone else here adopted this technique?