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 details)
Built Distribution
em-0.3-py2.py3-none-any.whl
(9.6 kB
view details)
File details
Details for the file em-0.3.tar.gz
.
File metadata
- Download URL: em-0.3.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad89c06cf19fe994b434be7e3f01efbaf44c87e336ddcebd695ed6cf2e72ea6f |
|
MD5 | 4757e0d6aac0f8cad8d9ff98629caa8c |
|
BLAKE2b-256 | 11b8ca96249549de23cfc5d9ea3b4a6dd03ee7bdf333f5dc4e95d06ecab0c418 |
File details
Details for the file em-0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: em-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2122771b0efa599affd7befeed3645358feb2099dc29001d03000b0aac84a5e |
|
MD5 | 39dd5b22f5e63f187129abbd6d3f9c5b |
|
BLAKE2b-256 | de6a00d2a3236cc2de5cfb283ebf8c0940828f52c91900e18ab4c9bdb394a9a5 |