highlight lines like grep
Go to file
Nick Krichevsky 2fa9b780d1
Bump release version
2021-11-13 14:54:29 -05:00
.github/workflows Name workflows 2021-11-13 14:54:18 -05:00
src Use LightRed instead of Red 2021-11-13 14:13:20 -05:00
.gitignore Add initial iteration of hl 2021-11-06 22:33:40 -04:00
CHANGELOG.md Use LightRed instead of Red 2021-11-13 14:13:20 -05:00
Cargo.lock Bump release version 2021-11-13 14:54:29 -05:00
Cargo.toml Bump release version 2021-11-13 14:54:29 -05:00
LICENSE.md Add LICENSE 2021-11-07 22:41:58 -05:00
README.md Bump release version 2021-11-13 14:54:29 -05:00

README.md

hline

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!

Usage

hline 0.1.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

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

Changelog