Previous Topic: COLS (columns) CommandNext Topic: D (delete) Command


C (copy) Command

C[number-of-lines]

Use the C (copy) line command to copy one line or block of lines. The B (before) and A (after) line commands are used to specify the destination of the line or block to be copied. No other line commands can be entered on the lines to be copied.

number-of-lines

specifies the number of lines to be copied. The default is 1.

C

Specifies a single line to be copied.

Cn

Specifies the first of n lines to be copied.

CC...CC

Specifies the first and last lines of a block of lines to be copied.

Rules for Using the Copy Line Command

When using the C number-of-lines or the CC form of the command, you cannot enter any other commands on the lines being copied.