Function grep_cli::patterns_from_stdin
source ยท pub fn patterns_from_stdin() -> Result<Vec<String>>
Expand description
Read patterns from stdin, one per line.
If there was a problem reading or if any of the patterns contain invalid UTF-8, then an error is returned. If there was a problem with a specific pattern, then the error message will include the line number and the fact that it came from stdin.