// > overwrite // >> append // | pipe // && on prev cmd okay // || on prev cmd fail pub fn parse(line: &std::string::String) -> Vec<&str> { line.split(' ').collect() /* let mut pipe_append = line.split(">>").peekable(); if let Some(f) = pipe_append.next() { println!("append to: {:?}", pipe_append.peek()); let mut commands = f.trim().split(" | ").peekable(); while let Some(command) = commands.next() { println!("run {}", command); } }*/ }