The owner wants a short report of today in ~/report.txt, with exactly three lines:
text
1. the number of sales (the lines with SALE)
2. the number of ERROR lines
3. the best-selling product and its count, from the SALE linesThe columns of ~/till.log are separated by spaces: time, type, product.