You are here

Search multiline pattern in files

 aptitude install pcregrep
 find -iname *.txt /path | xargs pcregrep -M 'string1.*\n.*string2'