Command-line Knowledge Base

pcregrep Utility

Find multipline pattern [1][2]
pcregrep -M -c 'DATE INFO.*(\n)// --' $file