pub fn shell_quote(s: &str) -> StringExpand description
Wrap a string in single-quotes if it contains any shell-special characters.
Uses an allowlist of safe characters — anything not in the list triggers quoting. Single-quoting avoids variable expansion and is safer than double-quoting.