One more method to change data offers the command CHANGE; its minimal abbreviation is C:
change /old/new/
In this example, the character string
old
will be replaced by the character string
new
in the current line. The character `/
' again functions as
delimiter of the character string. As you have just learnt in
the previous section, you can also use other characters as delimiters.
You will like to make the same change in several lines frequently. For this purpose, you can add a definite number of lines to your change command. For example, the following command
c // /5
- beginning in the current line - moves the data by one position to the right; this change is done within five lines. The `old' character string is empty (two delimiters follow each other directly). This character string occurs at the beginning of each line. The `new' character string contains one space. More about the use of the CHANGE command can be found in the chapter The Editor and Its Commands.