I would like to grep for a literal string which contains newlines. I found this question but the accepted answer suggests the -F option, which uses a set of newline-separated strings. I also found this question which uses pcregrep with the -M option, but that matches regexes and not just literal strings.
So how can I test if a file contains a specific, multiline, literal string?