z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Changing lines of text

z/OS UNIX System Services User's Guide
SA23-2279-00

To replace one or more lines with one or more new lines, use the c (change) subcommand. This actually deletes the lines you want to replace and inserts the new lines.

  1. Enter:
    a1,a2c
    where:
    • a1 is the number of the first line to be deleted.
    • a2 is the number of the last line to be deleted.
  2. Type the new lines, pressing <Enter> at the end of each line.
  3. End the insert by typing a . (period) on a line by itself.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014