Print paragraphs matching regular expressions
paragrep - Paragraph Grep utility
paragrep is a paragraph grep utility. It searches for a series of regular expressions in a text file (or several text files) and prints out the paragraphs containing those expressions. Normally paragrep displays a paragraph if it contains any of the expressions; this behavior can be modified by using the -a option.
By default, a paragraph is defined as a block of text delimited by an empty or blank line; this behavior can be altered with the -p option.
If no files are specified on the command line, paragrep searches standard input.
This is the third implementation of paragrep. The first implementation, in 1989, was in C. The second implementation, in 2003, was in perl. This is the latest and greatest.
For help, run with -h.
For detailed documentation, see <http://software.clapper.org/paragrep/>
This software is released under a BSD license.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|paragrep-3.2.0-py3-none-any.whl (8.2 kB) Copy SHA256 hash SHA256||Wheel||py3|
|paragrep-3.2.0.zip (11.2 kB) Copy SHA256 hash SHA256||Source||None|