Skip to main content

split_list

Function split_list 

Source
pub fn split_list(line: &str) -> Vec<(Joiner, String)>
Expand description

Split a line at unquoted ;, && and ||, without expanding anything, so each part can be expanded just before it runs (as sh does: in X=5; echo $X the echo sees 5). A comment ends the line.