beautypg.com

Modifying entire lines – Xerox 721P85530 User Manual

Page 447

background image

EDITOR QUICK REFERENCE

XEROX DOCUPRINT 180 LPS PDL REFERENCE

E-5

Insert a set of characters following other characters by entering:

F/

x/y/

x is the word preceding the text to be added.

y is the text to be added.

or

F [k]/

x/y/

k is the occurrence of string x in each line specified in the
MODIFY command that is affected by the F 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 F and k in the command.

Modifying entire lines

To change entire lines, or records, or your JSL coding, you may
perform any of the following activities:

Move lines in a file by entering:

MOVE

n-m,p,i

n is the starting line number.

m is the ending line number.

p is the new starting line number.

i is the increment of line numbering you want.

For example, MOVE 80-11-,51,1 results in the following:

Old New

00080 00051

00090 00052

00100 00053

00110 00054

Remove lines from a file by entering:

REMOVE

n

or just enter the line number.

n is the line to be removed.

Duplicate lines in a file by entering:

DUPLICATE

n-m,p,i

n is the starting line number.

m is the ending line number.

p is the new starting line number.

i is the increment of line numbering you want.

Replace lines with new lines by entering:

REPLACE

n-m,i