Compress Blank Lines [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Compress Blank Lines
Purpose
Replaces multiple blank lines with single blank lines.
Default Syntax
None
This command does not have a default key assignment. You can either
assign a key to the command using the Assign Key command or issue the
command using Execute Editor Command.
Description
This command searches the specified number of lines for multiple blank
lines and replaces each group of blank lines with a single blank line.
Procedure
To replace multiple blank lines:
1. Move the cursor to the first line of the group to be compressed.
[REV BEG]
2. Type a count or select a block.[REV END]
3. Issue Execute Editor Command (E). HP EDIT displays the prompt
Command: on the message line.
4. Type compress blank lines and press Return. HP EDIT removes
multiple blank lines and replaces them with single blank lines.
Example
To remove multiple blank lines from the following group of lines:
Sample text 1.
Sample text 2.
Sample text 3.
Sample text 4.
Sample text 5.
Sample text 6.
1. Move the cursor to the first line as shown.
2. Type 14 as the count.
3. Issue Execute Editor Command (E). HP EDIT displays the prompt
Command: on the message line.
4. Type compress blank lines and press Return. HP EDIT removes
multiple blank lines and replaces them with single blank lines as
shown:
Sample text 1.
Sample text 2.
Sample text 3.
Sample text 4.
Sample text 5.
Sample text 6.
Related Commands
Compress Blank Space
MPE/iX 5.0 Documentation