HP NonStop G-Series User Manual
Page 152
![background image](/manuals/397048/152/background.png)
JOIN Command
EDIT Command Summary
058061 Tandem Computers Incorporated
4–73
How to Use JOIN
The JOIN command is intended to be used with textual material rather
than source program lines.
JOIN retains any leading (that is, left-side) indentation.
JOIN stops filling lines when it encounters a blank line. However, if a
blank line is contained within a specified range of lines, JOIN resumes
filling lines at the next nonblank line. JOIN continues to fill lines until it
reaches the last line in the range.
Example
Study the following example:
*SET JOIN 55; LIST 2072/LAST
2072 The JOIN command is
2073 intended to be used
2074 with textual
2075 material rather than
2076 source program
2077 lines.
2078
2079 1. The JOIN command
2080 treats a
2081 contiguous block
2082 of nonblank
2083 lines as a
2084 paragraph.
2085 Indentation is
2086 retained.
2087
*JOIN 2072/LAST WIDTH 40
2072 The JOIN command is intended to be used
2074 with textual material rather than source
2076 program lines.
2078
2079 1. The JOIN command treats a contiguous
2081 block of nonblank lines as a
2084 paragraph. Indentation is retained.
2087
*JOIN 2072/LAST
2072 The JOIN command is intended to be used with textual
2074 material rather than source program lines.
2078
2079 1. The JOIN command treats a contiguous block of
2082 nonblock lines as a paragraph. Indentation is
2086 retained.
2087
*
Joins lines
to width 40
Lists from line number 2072
to the end of the current file
Resets the default join
width from 70 to 55
Joins lines to the
reset default width,
which is now 55