Skip to main content

quote

Function quote 

Source
pub fn quote(arg: &str) -> String
Expand description

Quote arg for a POSIX shell: bare when every character is one no shell treats specially, otherwise in single quotes (a ' inside becoming '\'').