EDITOR QUICK REFERENCE
E-4 XEROX DOCUPRINT 180 LPS PDL REFERENCE
Modifying a portion of the work file line
To modify portions of a line, you must first enter:
MODIFY
n
n
is the number of the line to be modified, for example, MODIFY 60.
Then you can perform any of the following activities:
•Substituting one set of characters for another by entering:
S/
x
/
y
or C /
x
/
y
/
x is the text to be replaced.
y is the text to be inserted.
or
S [k]/
x
/
y
/ or C [k]/
x
/
y
/
k
is the occurrence of string x in each line spe cified in the
MODIFY command that is affected by the S or C command.
k
defaults to 1 when not specified, while 0 indicates that all
occurrences of the first set of characters, or string
x
, in the
specified lines are affected.
Add a space between S or C and k in the command.
•Overlay one set of characters over another by entering:
O/
x
/
y
/
x is the text to be replaced.
y is the new text.
or
O [k]/
x
/
y
/
k
is the occurrence of string x in each line spe cified in the
MODIFY command that is affected by the OVERLAY
command. k defaults to 1 when not specified, while 0 indicates
that all occurrences of the first set of characters, or string
x
, in
the specified lines are affected.
Add a space between O and
k
in the command.
When O is used to replace characters that are not at the end of
the line, be sure that the characters and spaces inserted equal
those being replaced.
•Insert a set of characters before other characters by entering:
P/
x
/
y
/
x is the word following the text to be added.
y is the text to be added.
or
P [k]/
x
/
y
/
k
is the occurrence of string x in each line spe cified in the
MODIFY command that will be affected by the P c ommand.
k
defaults to 1 when not specified, while 0 indicates that all
occurrences of the first set of characters, or string
x
, in the
specified lines are affected.
Add a space between P and k in the command.