Use EditMerge to replace blank characters in current session text with characters from the Clipboard for a specified group of lines.
EditMerge may also be entered as Merge.
The group of lines can be specified by pre-selecting the lines (see Selection) or by using the FCT operand. If neither a pre-selection or FCT operand is provided, the group of lines consists solely of the current line.
Optional Operands
FCT specifies the number of lines to update. If FCT is specified as an asterisk (*), all of the lines through the end of the session will be updated. If FCT is greater than the number of lines in the Clipboard, EditMerge will process the Clipboard as many times as necessary to exhaust the number of lines specified by FCT. This feature is often used to merge a single Clipboard line against a number of session lines.
Default: number of lines in the Clipboard.
EditMerge may be invoked without operands by pressing Alt-J.
EditMerge updates session lines starting with the current line by overlaying non-blank text from Clipboard lines onto the corresponding session lines. The overlay occurs for a given line position only if the position is blank in the session line. EditMerge assembles text lines from more than one source. It can be used to make side-by-side (newspaper- style) columns or to apply a static pattern of characters over a varying one.
Return Codes
OK Successful.
Examples
Merge Clipboard contents with the selected lines:
=> merge