pygrep.py
Created 1 August 2003
I needed a grep that I could modify slightly, so I grabbed a copy of Vivian De Smedt’s grep.py, and renamed it pygrep.py (I have Cygwin’s grep on the path).
My additions:
- If the file argument is “@file.txt”, then file.txt will be read for filenames, one per line, and the grep will be performed across those files.
- The -w flags turns on full-word-only mode.
Download: pygrep.py
Comments
Add a comment: