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

https://github.com/bdelliott/cgrep

Contextual grep tool
https://github.com/bdelliott/cgrep

grep python script

Last synced: 5 days ago
JSON representation

Contextual grep tool

Awesome Lists containing this project

README

          

* cgrep *

Contextual grep - Simple Python tool to search files and display lines surrounding matching expressions.

It's a handy tool for browsing through a codebase and doing some quick searches.

* Usage *

Usage: python cgrep.py pattern [files]

You must supply a search pattern and 1 or more files to search.