Skip to main content

read_word

Function read_word 

Source
fn read_word(b: &[u8], from: usize) -> Option<(usize, usize)>
Expand description

Read one shell word (quote-aware) starting at/after from, skipping leading spaces. Returns the word’s byte range, or None if there’s no word.