Discover Packages
github.com/EugenDueck/colorexp
command
module
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Mar 16, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Colorexp
Colorexp is a command line tool that allows coloring of text matches from standard input with multiple colors,
something that is not easy to achieve with tools like grep
and less
.
Colorexp
uses the Go regexp format, as documented here .
supports overlapping matches (the color for the last pattern that matches will be used)
Usage
Usage: colorexp [options] patterns...
-F, --fixed-strings Don't interpret regular expression metacharacters.
-H, --highlight Color by changing the background color.
-i, --ignore-case Perform case insensitive matching.
Example
Installation
Homebrew on MacOS
brew tap EugenDueck/tap https://github.com/EugenDueck/homebrew-tap
brew install colorexp
All OSes
Build
go build colorexp.go
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.