shell::parse

Function read_string

Source
fn read_string(
    jobs: &mut Jobs,
    chars: &mut Peekable<Chars<'_>>,
) -> Result<Arg, Error>
Expand description

Read string surrounded by quote (“). Assumes chars is on the open quote and consumes the end quote. This version will handle interpolation and escape chars.