HP 3000 Manuals

Upshift Line [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Upshift Line 

Purpose 

Converts one or more lines to uppercase.

Default Syntax 

[n] ESC ^

where n represents the number of lines to convert to uppercase.  The
default value of n is 1.

Description 

This command converts one or more lines from lowercase to uppercase, and
moves the cursor to the first column of the first line following the
capitalized lines.  HP EDIT does not convert non-uppercase characters,
such as digits.

If you specify a greater number of lines for conversion than lines
remaining in the file, HP EDIT capitalizes the remaining lines in the
file and moves the cursor to the last line in the file.

Procedures 

To convert one lowercase line to uppercase: 

   1.  Move the cursor to the first character column of the line you want
       to convert.

   2.  Press ESC and the ^ key.  HP EDIT converts the line and moves the
       cursor under the first character column of the next line.

To convert more than one lowercase line to uppercase: 

   1.  Move the cursor to the first character column of the group of
       lines you want to convert.
       [REV BEG]

   2.  Either specify a count or select a block.  This value represents
       the number of lines you want to convert.[REV END]

   3.  Press ESC and the ^ key.  HP EDIT converts the number of lines
       specified and moves the cursor under the first character column of
       the following line.

Example 

To convert the following line to uppercase: 

     abc123DEFghi

   1.  Move the cursor anywhere on the line as shown.

   2.  Press ESC and the ^ key.  HP EDIT converts the line as shown:

            ABC123DEFGHI

Related Commands 

       Upshift Character
       Upshift Word



MPE/iX 5.0 Documentation