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 | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size paragrep-3.2.1-py3-none-any.whl (8.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size paragrep-3.2.1.zip (11.4 kB)||File type Source||Python version None||Upload date||Hashes View|