pub fn emit_bash_url_encode(var: &str, result_var: &str) -> String
Generate bash code to URL-encode a string.