padawin / colorise

Colorise terms of command output based on regexp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colorise

Color patterns in your command output.

Uses escape sequence colors. So the color 32 is used as \e[32m, the color 38;5;219 is used as \e[38;5;219m, etc...

Installation

make

Then place the program colorise in your $PATH.

Usage

echo "Hello my World" | colorise Hello 33 World 31

About

Colorise terms of command output based on regexp.

License:MIT License


Languages

Language:Go 97.0%Language:Makefile 3.0%