pub fn validate_shell_script(script: &str) -> Result<()>Expand description
Validate an explicitly requested shell script through the Bash AST while
retaining legitimate compound-command boundaries. This is distinct from
validate_command_safety, whose raw-string compatibility API rejects
unquoted chaining before execution intent is known.