HP NonStop G-Series User Manual
Page 31
A Conversation With EDIT
Introduction to EDIT
058061 Tandem Computers Incorporated
1–11
Ranges
For many editor commands, EDIT operates on one or more lines of text in
your file. So, when you type many of the commands, you are actually
specifying both a command name and a range of text to be operated on. A
range is the one or more lines of text on which you want the command to
operate.
You specify ranges in a variety of ways. The simplest ways are with a line
number (for a single line) or two line numbers separated by a slash (for two
or more consecutive lines). You can specify a range of one or more columns
within your file. You can also specify a range of lines that contains a
particular character string (a character string is a series of characters such as
a word, a phrase, or a number enclosed in quotation marks).
Ranges are an integral part of many editor commands. For more
information about ranges, see “Introduction to Ranges” in Section 4. For a
thorough discussion as well as detailed descriptions of each type of range
parameter, see “Range Summary” in Section 5.
Printable Characters
When typing text in your file, use only printable characters. Typing
nonprintable characters in your file (such as any character that you would
type while holding down
CONTROL
has unpredictable results and may
adversely affect the text in your file. The printable characters are:
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9
{ } ! @ # $ % ^ & * ( ) - _ +
= [ ] ~ " ` : ; ? / > . < ,
blank space