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
- Host: GitHub
- URL: https://github.com/thomd/colgrep
- Owner: thomd
- Created: 2013-10-26T22:33:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2022-10-09T13:57:46.000Z (over 3 years ago)
- Last Synced: 2025-04-19T19:09:09.082Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 78.1 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# colgrep(1)
[](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
