Highlight matched strings in a text
Project description
Usage
Pipe text though it to highlight:
Numbers, try | colorize ‘[0-9]+’.
Lines matching phrase, try | colorize ‘.*phrase.*’.
Headers in curl, try | colorize ‘^[^:]*:’.
If you don’t like distribution of the colors, add some random number as second argument.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colorize-cli-0.1.tar.gz
(3.6 kB
view details)
File details
Details for the file colorize-cli-0.1.tar.gz.
File metadata
- Download URL: colorize-cli-0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b01fc1322dd3430676ab5f82cefdc8630c3d9ce6b6c1805b99564ede908e3fee
|
|
| MD5 |
5ca2402b29b9fe67ab9e002e8ec7be54
|
|
| BLAKE2b-256 |
f8ca6f46da167f272f774b2eaba65121f426bf025b36fe770da450c8858544bd
|