BSD Ports

textproc/par 1.52p4 OpenBSD

paragraph reflow for email

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Gregor Best <[email protected]>
Categories
textproc

Description

Par is a filter which copies its input to its output, changing all white characters (except newlines) to spaces, and reformatting each paragraph. Paragraphs are separated by protected, blank, and bodiless lines, and optionally delimited by indentation.

Each output paragraph is generated from the corresponding input paragraph as follows:

  1. An optional prefix and/or suffix is removed from each input line.
  2. The remainder is divided into words (separated by spaces).
  3. The words are joined into lines to make an eye-pleasing paragraph.
  4. The prefixes and suffixes are reattached.

If there are suffixes, spaces are inserted before them so that they all end in the same column.

Flavour: i18n - add a patch to support multibyte character sets

In the other systems

SystemPortVersion
OpenBSDtextproc/par1.52p4
FreeBSDtextproc/par1.53.0_3
NetBSDtextproc/par1.53.0
DragonFlytextproc/par1.53.0_2

Install

Binary package:

pkg_add par

From the ports tree:

cd /usr/ports/textproc/par && make install

Dependencies

Build dependencies 1
Required by 1