Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/grongor/van-greph
- Owner: grongor
- License: mit
- Created: 2021-11-27T18:39:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T21:44:28.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T13:39:35.167Z (about 1 month ago)
- Topics: bash, color, colors, grep, highlight, highlighter, highlighting
- Language: Shell
- Homepage:
- Size: 207 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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