hgrep

Grep with human-friendly search results and syntax highlighting

brewmacoslinux
Try with needOr install directly
Source

About

Grep with human-friendly search results

Commands

hgrep

Examples

Search for a pattern in files with colored output$ hgrep 'pattern' *.txt
Recursively search in directory with context lines$ hgrep -r 'function_name' src/ -C 2
Search with case-insensitive matching$ hgrep -i 'error' logs/*.log