pub fn emit_bash_split(str_var: &str, delim: &str, arr_var: &str) -> String
Generate bash code to split a string by a delimiter.