RR Command

Repeats a block of lines.
Category: Text editing, line command

Syntax

RR <n>
block of text
RR <n>

Without Arguments

The RR command repeats the block of lines one time.

Required Argument

n
specifies the number of times to repeat the designated block of lines. Follow the n argument with a space. You can specify the numeric argument in the beginning or ending line of the block command or in both. If it is specified in both, the first numeric argument is used.

Details

The RR command repeats a designated block of lines immediately after the designated block of lines. The default is one time.

Comparisons

The R and RR commands repeat the line or block of lines immediately after the line with the R or RR command. The C and CC commands enable you to copy one or more lines anywhere in a window.

See Also