Suppose I had a file that had a lot of text in it. At some point I wanted to search for the following text in that file. But not exactly this text. In fact I wanted to find any text "paragraph," that could be multiple lines, that started with a line that started with "service surfaceflinger" then had a line that ended with "zygote".
What's the Linux regex for a search that would encounter this?
service surfaceflinger /system/bin/surfaceflinger
class main
user system
group graphics
onrestart restart zygote