rustgrep scans standard input line per line. Once a line matches at least one of patterns it's printed to standard output. rustgrep doesn't support reading input from a file.