On your own: the morning report

Your task Make report.txt from night.log: first line, the number of lines with ERROR; then every ERROR line under it.

Getting the editor ready