HP NonStop G-Series User Manual
Page 110
![background image](/manuals/397048/110/background.png)
CHANGE Command
EDIT Command Summary
058061 Tandem Computers Incorporated
4–31
BOTH
tells the EDIT program to change both uppercase and lowercase
occurrences of
oldstring
to
newstring
. If you omit BOTH, the EDIT
program changes only the occurrences of
oldstring
that exactly
match what you type. (See Examples 3, 5, and 6, following.)
ALL
tells the EDIT program to change all occurrences of
oldstring
to
newstring
in a given line. If you omit ALL, the EDIT program
changes only the first occurrence of
oldstring
in a line. (See
Examples 1, 3, 4, 5, and 6, following.)
oldstring
is a character string that exists in your EDIT file. You can enclose
oldstring
within two right slants (/) or single apostrophes (’) as well
as within quotation marks.
newstring
is the character string that replaces
oldstring
or is the character
string that replaces the existing text in the specified columns. You can
enclose
newstring
within two right slants (/) or single apostrophes (’)
as well as within quotation marks.
column-range-list
references a single column or one or more groups of columns, delimited
by pairs of column numbers, in one line of an EDIT file. Turn to
“Column-Range-List Parameter” in Section 5 for a full explanation of
this range.
range-specifier
indicates combinations of line-range and string-range parameters. Turn
to “Range-Specifier Parameter” in Section 5 for a full explanation of this
range.