Why add the extra cat command?
grep -i 'problem' /var/log/syslog
grep -i 'problem' /var/log/syslog
people whine about 'useless use of cat' like it's still 1982, but the fact is that it's convenient for iterative development of a pipeline in situ and it costs nothing.
Good to see there's still some competitors out there.
</var/log/syslog grep -i 'problem'