
a
adjust(1) | adjust(1) |
NAME
adjust - simple text formatter
SYNOPSIS
adjust
DESCRIPTION
The adjust command is a simple text formatter for ®lling, centering, left and right justifying, or only right justifying text paragraphs, and is designed for interactive use. It reads the concatenation of input ®les (or standard input if none are given) and produces on standard output a formatted version of its input, with each paragraph formatted separately. If - is given as an input ®lename, adjust reads standard input at that point (use - - as an argument to separate - from options.)
adjust reads text from input lines as a series of words separated by space characters, tabs, or newlines. Text lines are grouped into paragraphs separated by blank lines. By default, text is copied directly to the output, subject only to simple ®lling (see below) with a right margin of 72, and leading spaces are converted to tabs where possible.
Options
The adjust command recognizes the following
Only one of the
Details
Before doing anything else to a line of input text, adjust ®rst handles backspaces, rubbing out preceding characters in the usual way. Next, it ignores all
For simple text ®lling, the ®rst word of the ®rst line of each paragraph is indented the same amount as in the input line. Each word is then carried to the output followed by one space. ``Words'' ending in terminal_character[quote][closing_character] are followed by two spaces, where terminal_character is any of ., :, ?, or !; quote is a single closing quote ( ' ) character or
end. of? sentence.' sorts!" of.) words?"]
(adjust does not place two spaces after a pair of single closing quotes ( '' ) following a terminal_character).
adjust starts a new output line whenever adding a word (other than the ®rst one) to the current line would exceed the right margin.
adjust understands indented ®rst lines of paragraphs (such as this one) when ®lling. The second and subsequent lines of each paragraph are indented the same amount as the second line of the input paragraph if there is a second line, else the same as the ®rst line.
Section 1−10 | − 1 − |