A colored tail
Project description
ctail = colored tail
ctail is a command line script used to show the last lines of a file adding color to provided regular expressions.
ctail$ ctail -h
usage: ctail [-h] [-d] [-l NLINES] [-f] [-s] file_path [reg_exes [reg_exes ...]]
positional arguments:
file_path path of the file
reg_exes regular expressions to colour on the file (default: None)
optional arguments:
-h, --help show this help message and exit
-d color date times in format: yyyy-mm-dd HH:MM:SS (default: False)
-l NLINES how many last lines show from file (default: 10)
-f, --follow output appended data as the file grows (default: False)
-s, --show-regexes show applied regular expresions (default: False)
Install
pip install ctail
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
ctail-0.0.3.tar.gz
(5.0 kB
view details)
Built Distribution
ctail-0.0.3-py3-none-any.whl
(5.6 kB
view details)
File details
Details for the file ctail-0.0.3.tar.gz
.
File metadata
- Download URL: ctail-0.0.3.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ab92a6b818f8821802561790070d0a8e2ae24b532e93df39c9f82035c5e24c |
|
MD5 | 61ea645e1ec3577c7d3af43d36d7890b |
|
BLAKE2b-256 | f9055ed21f555f193d9a07faae2a8e9c05a5fe4bf1b65ee6c4441adcc71e416e |
File details
Details for the file ctail-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ctail-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53eb4b5b81ba8fccd70734c7478911fe0f4713fad29f19c9bbbd5efb53c6881c |
|
MD5 | 84006b852ebb797e91822592fa3fca13 |
|
BLAKE2b-256 | 034d120a0543b5c779ed2557f9dc08a88bae809b022913645bc7f94cc1a5da40 |