Highlight some PATTERN in terminal's STDOUT
Project description
em program 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
and easy to install
$ (sudo) pip install em
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.1.tar.gz
(5.9 kB
view details)
File details
Details for the file em-0.1.tar.gz
.
File metadata
- Download URL: em-0.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbdcca0191c14272017178f81c781649ce9d1e581d386ce80c1adbd77a14e4c |
|
MD5 | 22e7c283b34ea7d8799182c1dd985c19 |
|
BLAKE2b-256 | ded1a2f42ef4f83e04c3112b2bcac4eb4933204987acf0d9bbfaadfed2954940 |