Path to this page:
./
textproc/par,
Paragraph reformatter, vaguely similar to fmt, but better
Branch: pkgsrc-2007Q4,
Version: 1.52,
Package name: par-1.52,
Maintainer: pkgsrc-users 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 (see the Terminology section for definitions), and
optionally delimited by indentation (see the d option in the Options
section).
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.
Master sites:
SHA1: 4b83d2ec593bb45ee46d4b7c2bfc590e1f4a41a8
RMD160: 253070f319a7f3b3a6f0dad5797882efdbf597bc
Filesize: 46.874 KB
Version history: (Expand)
- (2008-01-12) Package added to pkgsrc.se, version par-1.52 (created)