Function grep_cli::patterns_from_path
source · Expand description
Read patterns from a file path, 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 file path.