Delete Leading Blanks [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Delete Leading Blanks
Purpose
Removes leading blank characters.
Default Syntax
[n] ESC -
where n is a count that represents the number of lines in which leading
blanks are to be removed. The default value of n is 1.
Description
This command removes leading blank characters from the specified number
of lines and left justifies the lines.
Procedure
To remove leading blank characters from a single line:
1. Move the cursor to a column anywhere on the line in which leading
blank characters are to be removed.
2. Press ESC and the - key. HP EDIT removes leading blanks and left
justifies the line.
To remove leading blanks from several lines:
1. Move the cursor to any column of the first line of the selected
text block.
[REV BEG]
2. Either type a count or select a block. This value represents the
number of lines that HP EDIT is to search for leading blank
characters.[REV END]
3. Press ESC and the - key. HP EDIT removes leading blanks from each
line of the selected text block.
Example
To remove leading blanks from the following lines:
The leading blanks
in these lines
will be removed.
1. Move the cursor to the first line as shown.
2. Type the number 3 as the count and press the Return key.
3. Press ESC and the - key. HP EDIT removes leading blanks as shown:
The leading blanks
in these lines
will be removed.
Related Commands
Compress Blank Lines
Compress Blank Space
MPE/iX 5.0 Documentation