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
- Host: GitHub
- URL: https://github.com/bdelliott/cgrep
- Owner: bdelliott
- License: mit
- Created: 2012-02-24T03:04:50.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-24T03:12:26.000Z (almost 14 years ago)
- Last Synced: 2024-04-16T03:37:08.902Z (almost 2 years ago)
- Topics: grep, python, script
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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.