pub fn parse_subst_string(s: &str) -> Result<String, String>
Tokenize a string as if it were a normal command-line argument but it may contain separators. Used for ${…%…} substitutions.
Port of parse_subst_string() from lex.c