> Maybe the solution is to follow SQL and implement a prepared-query system for shell commands?
You mean shell scripts?
You mean shell scripts?
The list-form shell commands referenced earlier are closer, but still don't separate filenames (input) from arguments unless you remember to add "--".
But they do prevent things like pipes, which is a big deal.