Skip to content
/ hl Public
forked from keepworking/hl

grep like pipeline highlighter

License

Notifications You must be signed in to change notification settings

damaru/hl

This branch is up to date with keepworking/hl:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

75b5822 · Jul 14, 2023

History

23 Commits
Mar 23, 2023
Mar 24, 2023
Mar 24, 2023
Apr 10, 2023
Jul 14, 2023
Mar 24, 2023

Repository files navigation

hl : pipeline highlighter

simple pipeline highlight tool

build

gcc hl.c -o hl

install

chmod +x hl
sudo cp hl /usr/bin

options

-i : ignore upper/lower case

-E : support extended regex

-c : change color

for example -c green, -cc yellow, -ccc blue, -cccc magenta, -ccccc cyan, -cccccc strat on red again

-[0~5] : set color

0 : red
1 : green
2 : yellow
3 : magenta
4 : cyan

b : set bright color

example

adb logcat | hl -iE "fail|error"

image

About

grep like pipeline highlighter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 86.2%
  • Shell 13.8%