Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/grongor/van-greph

Script that colors the input text based on patterns you specify. Grep one-liner grown up the limits because of procrastination.
https://github.com/grongor/van-greph

bash color colors grep highlight highlighter highlighting

Last synced: 2 days ago
JSON representation

Script that colors the input text based on patterns you specify. Grep one-liner grown up the limits because of procrastination.

Awesome Lists containing this project

README

        

# van-greph

![CI](https://github.com/grongor/van-greph/workflows/CI/badge.svg)

Bash script that reads `stdin`, and based on the options given to it, matches and colors the input and outputs
it to `stdout`. It doesn't filter anything, just adds colors. You may find it very handy when trying to find some
patterns in large dataset.

![](assets/example.png "Usage example")

## Usage

First, put it somewhere where you can execute it; somewhere in your `$PATH`.

Then you can try something simple:
```bash
printf "hello\nworld\n" | van-greph ll wo d
```

Or maybe infinite rainbow? Go for it:
```bash
base64