pub fn classify_script(script: &str) -> Vec<Effect>Expand description
Split a script into invocations on the shell connectors (\n ; | & && ||) and
classify each. Returns one Effect per recognized command, in order (blank
and comment segments are dropped; unrecognized programs become Effect::Exec).
Redirections and quoting are not interpreted — this is a heuristic profile of the
effects a script performs, suitable for the safety axis.