cornet / ccze

ccze
GNU General Public License v2.0
409 stars 30 forks source link

[Question] Use with grep #13

Closed lonix1 closed 5 years ago

lonix1 commented 5 years ago

tail -n 10 -f /var/log/syslog | grep foo | ccze

I expected this to only show foo log lines. But it shows nothing at all.

How do I combine grep and ccze?

lonix1 commented 5 years ago

tail -n 10 -f /var/log/syslog | grep foo | ccze -A