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


Copying lines of text

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

Use the t (transfer) subcommand to copy one or more lines within the edit buffer.

To copy one line, enter:
a1tn
where:
  • a1 is the number of the line to be copied.
  • n is the number of the line that the line is to be copied after.
To copy a block of lines, enter:
a1,a2tn
where:
  • a1 is the number of the first line in the block of lines to be copied.
  • a2 is the number of the last line in the block of lines to be copied.
  • n is the number of the line that the lines are to be copied after.

To copy lines to the top of the edit buffer, use 0 as the line number for the lines to be copied after.

To copy lines to the bottom of the edit buffer, use $ as the line number for the lines to be copied after.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014