pub fn remote_abort_pattern(command: &str) -> Option<String>Expand description
Sanitizes a command fragment for best-effort use with pkill -f.
Kept for callers that need the sanitizer itself. It is no longer used to
build remote aborts: a pattern taken from user command text matches foreign
processes (see new_remote_job_marker). Accepts alphanumerics and a
restricted symbol set; stops at the first dangerous metacharacter. Requires
at least 3 characters. Never embeds passwords (pattern only).