An open API service indexing awesome lists of open source software.

https://github.com/thomd/colgrep

colgrep(1) colors pattern in a stdin stream
https://github.com/thomd/colgrep

Last synced: 4 months ago
JSON representation

colgrep(1) colors pattern in a stdin stream

Awesome Lists containing this project

README

          

# colgrep(1)

[![Build Status](https://travis-ci.org/thomd/colgrep.png)](https://travis-ci.org/thomd/colgrep)

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

> To always recognize what's important!

### Installation

make test
make install BINDIR=$HOME/bin MANDIR=$HOME/man

### Syntax

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

See man page for options

man colgrep

### 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