textproc/par 1.53.0 NetBSD
Paragraph reformatter, vaguely similar to fmt, but better
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- textproc
- Package size
- 25.8 KiB, 79.4 KiB installed
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 (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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | textproc/par | 1.53.0 |
| FreeBSD | textproc/par | 1.53.0_3 |
| OpenBSD | textproc/par | 1.52p4 |
| DragonFly | textproc/par | 1.53.0_2 |
| HardenedBSD | textproc/par | 1.53.0_3 |
| GhostBSD | textproc/par | 1.53.0_3 |
Install
Binary package:
pkgin install par
From pkgsrc:
cd /usr/pkgsrc/textproc/par && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.53.0 |
| NetBSD 10.1 aarch64 | 1.53.0 |
| SmartOS / illumos x86_64 | 1.53.0 |
| macOS 15 arm64 | 1.53.0 |
Dependencies
No port depends on this one.