Print paragraphs matching regular expressions
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file paragrep-3.3.0.zip
.
File metadata
- Download URL: paragrep-3.3.0.zip
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad2a29ea04a1dac130f40a0d968d52adaf7bc7f390e6743990a40414420cbbcc |
|
MD5 | 6eafd53a5ed39f6a45e7636e140183bb |
|
BLAKE2b-256 | bfc2638acb2a29fd6e019e7263dfe09d1f9683f5fa4b85db1f65573df12a1390 |
File details
Details for the file paragrep-3.3.0-py3-none-any.whl
.
File metadata
- Download URL: paragrep-3.3.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c13551889af21a48a8b6e27b9533e6028bc1c77013223453469a8c518afa3191 |
|
MD5 | 863883e593032f66f2c4f54098cadb06 |
|
BLAKE2b-256 | 396f41a591a023a79bc36b2499dad65b991b8f9ba43d53d4619fe789022476fe |