Function pacaptr::exec::grep_print

source ·
pub fn grep_print(text: &str, patterns: &[&str]) -> Result<()>
Expand description

Prints the result of grep line by line.

§Errors

Returns an Error::OtherError when any of the regex patterns is ill-formed.