| Crates.io | hline |
| lib.rs | hline |
| version | 0.2.1 |
| created_at | 2021-11-08 04:22:42.545132+00 |
| updated_at | 2021-12-13 04:19:02.986207+00 |
| description | a grep-like tool that highlights lines in files |
| homepage | https://github.com/ollien/hline |
| repository | https://github.com/ollien/hline |
| max_upload_size | |
| id | 478322 |
| size | 80,046 |
hline is a very small command line utility designed to highlight lines in log files. In practice, I've found that
tuning the context that grep gives me when tail -fing a log can be quite cumbersome. Oftentimes, all I really
care about is seeing that a certain message happened and some surrounding context. hline fills that niche!
hline 0.2.1
Highlights lines that match the given regular expression
USAGE:
hline [FLAGS] <pattern> [filename]
FLAGS:
-i, --ignore-case Ignore case when performing matching. If not specified, the matching is case-sensitive.
-h, --help Prints help information
-b Treat the given input file as text, even if it may be a binary file
ARGS:
<pattern> The regular expression to search for. Note that this is not anchored, and if anchoring is desired,
should be done manually with ^ or $.
<filename> The file to scan. If not specified, reads from stdin
cargo install hline