bmc / paragrep

Paragraph grep utility

Home Page:http://software.clapper.org/paragrep/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

paragrep, a paragraph grep

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.

Quick Start

$ pip install paragrep
$ paragrep --help

WARNING: As of version 3.2.0, paragrep no longer supports Python 2. If you need to run it under Python 2, use an older version. e.g.:

$ pip install paragrep==3.1.3

Complete docs

For all the docs, see the project site.

About

Paragraph grep utility

http://software.clapper.org/paragrep/

License:Other


Languages

Language:Python 98.4%Language:Shell 1.6%