LogoopenSUSE Build Service > Projects
Sign Up | Log In

Paragraph reformatter, vaguely similar to fmt, but better

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.
  

Source Files

Filename Size Changed Actions
COPYING 96 Bytes Download File
Par152.tar.gz 46.9 KB Download File
par.changes 768 Bytes Download File
par.spec 2.33 KB Download File
par_1.52-i18n.3.diff.gz 23.7 KB Download File
par_1.52-i18n.4.diff.gz 1.04 KB Download File

Comments for home:sbahling:utils (0)

Login required, please login or signup in order to comment