Syntax


H[n]

HH[n] / HH



Operands


n

A number that tells the editor to repeat the associated line command a specified number of times. If you do not type a number, the default is 1.


Description


The H command, which specifies 1 line, or the HH / HH pair, which mark a range of lines, specify lines which are to be replaced by the associated data selected by line commands (C - Copy or M - Move). This is similar to using the A or B line commands to mark the destination for a move/copy except in addition the lines marked with H / HH are replaced by the copied/moved data.


To help remember this command


A = After here

B = Before here

H = right Here


Using the H/HH command


    1. Mark the lines to be replaced with an H/HH line command.


    1. Any number specified on the H/HH line command itself indicates the number of times the other line command is performed. 


    1. Press Enter. 


    1. The data is moved or copied, replacing the line(s) marked with the H/HH line commands.


Other line commands that are used to specify a destination are the A (After) command, B (Before) command, O (Overlay) command, OR (Overlay-Replace) command, and the AA and BB block-destination commands.