par (command)
Script error: No such module "Distinguish".
Page Module:Infobox/styles.css has no content.
| par | |
|---|---|
| [[Programmer|Original authorTemplate:Pluralize from text]] | Adam M. Costello |
| Operating system | Unix and Unix-like |
| Type | Command |
| Website | Script error: No such module "WikidataIB". |
Script error: No such module "Check for conflicting parameters".
The computer program par is a text formatting utility for Unix and Unix-like operating systems, written by Adam M. Costello as a replacement for the fmt command.
Par reformats paragraphs of text to fit into a given line length optimally, keeping prefixes and suffixes intact, which is useful for formatting source code comments. It also understands the conventions commonly used for quoting in email replies, and is capable of intelligently reformatting these several levels deep while rewrapping the text they quote.
Par can be invoked from text editors such as Vim or Emacs. To support Unicode par needs to be compiled with a patch that adds multi-byte character support, typically, UTF-8 encoding. Unlike fmt, par also supports text justification.
References
- Costello, Adam M. (2001). "par.doc". Accessed August 4, 2005.
External links
Page Module:Side box/styles.css has no content.Page Template:Sister project/styles.css has no content.
- Official website
- Add multi-byte character support to par (Patch author's website). Archived November 24, 2021.
- Vimcasts.org: formatting text with par
- Vim wikia: Par text reformatter
- Current development repository with all mentioned patches applied
Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.