Highlight some PATTERN in terminal's STDOUT
Project description
Em is a terminal tool that prints FILE(s), or standard input to standard output and highlights the expressions that are matched the PATTERN.
The expression will be highlighted iff the terminal is ANSI-compatible.
Em is Cool
$ tail -f /path/to/log | em "DEBUG|INFO" GREEN | em "WARN" yellow
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
em-0.3.tar.gz
(7.9 kB
view hashes)
Built Distribution
em-0.3-py2.py3-none-any.whl
(9.6 kB
view hashes)