From the manual of grep
‘-f file’ ‘--file=file’
Obtain patterns from file , one per line. The empty file contains zero patterns, and therefore matches nothing. (‘-f’ is specified by POSIX.)
When there are multiple lines in the file, how are the patterns specified by each line working together?
Isn't there only one pattern used in each grep command?