beautypg.com

HP NonStop G-Series User Manual

Page 151

background image

JOIN Command

EDIT Command Summary

4–72

058061 Tandem Computers Incorporated

JOIN Command

The JOIN command treats a contiguous block of nonblank lines as a
paragraph. Within a paragraph, the JOIN command moves

words

between

lines so that each line contains as many words as possible within a specified
width. A word is defined as (1) any character string that is preceded and
followed by a space or any character other than a number or letter or (2)
any character string that occurs at the end of a line.

What to Enter

JOIN [ QUIET ] { line-range } [ WIDTH rightcolumn ]

QUIET

tells the EDIT program not to list the lines as they are joined.

line-range

references one or more contiguous lines in an EDIT file. Turn to “Line-
Range Parameter” in Section 5 for a full explanation of this range.

WIDTH

specifies the maximum number of characters to be placed on each line
in the range during execution of the command.

rightcolumn

is a number from 1 to 255. If you omit WIDTH, EDIT uses the

rightcolumn

value specified by the JOIN parameter of the SET

command. (The default for

rightcolumn

is 70).

This manual is related to the following products: