#colorize #pattern #matches #terminal

app clz

colorize text that matches a pattern

1 unstable release

0.1.0 Jul 31, 2022

#8 in #colorize

MIT license

66KB
169 lines

clz

colorize text that matches a pattern

usage

clz <regex> [black|red|green|yellow|blue|magenta|cyan|white]

example

cat README.md | clz 'u[a-zA-Z]+e' | clz 'c.?z' red | clz colorize yellow | clz text magenta | clz regex cyan

image of clz output in a terminal

Dependencies

~2–3MB
~53K SLoC