Skip to main content

commands_of_line

Function commands_of_line 

Source
pub fn commands_of_line(line: &str) -> Option<Vec<Vec<String>>>
Expand description

A shell line of plain commands joined by ;, &&, || or newlines: its commands, each plain; None for anything else a shell would read.