Skip to content
colgrep(1) colors pattern in a stdin stream
Shell Python Roff Makefile Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.travis.yml
Makefile
README.md
colgrep
colgrep.1
colgrep.1.md

README.md

colgrep(1)

Build Status

A lightweigth colorizer for a STDIN stream. Like grep, but prints all lines.

To always recognize what's important!

Syntax

colgrep [-h] [-c COLOR] [-b] [-l] [-i] [-v] [--version] PATTERN [PATTERN ...]

See man page for options

man colgrep

Installation

make test
make install

Examples

Highlight 404 and 401 requests in an Apache access.log in red

tail -f access.log | colgrep 404 401 -c red

Highlight HTTP redirects

curl -sIL google.de | colgrep -l Location

You can’t perform that action at this time.