pub fn escape_shell(s: &str) -> StringExpand description
Escape a string for embedding in a POSIX single-quoted shell string literal.
Wraps the string in single quotes and escapes embedded single quotes as '\''.
Single-quoted shell strings treat every character literally except ', so
no other escaping is needed.