7.0;xd (cut) *DM*, revision 7.0, 83/08/18
XD (CUT) *DM* -- Cut (delete) text and write it to paste buffer.
usage: [range]xd [-r] [-f pathname | name]
FORMAT
[range]XD [-R] [-F pathname | name]
The XD command copies a range of text into a paste buffer or system file,
then deletes the text from the pad. This command can be used only in a
writable pad.
By default, the <CUT> key on keyboard 2 and CTRL/E on keyboard 1 invoke
the XD command using the default (unnamed) paste buffer.
ARGUMENTS
range
(optional) Specify range of text to be cut. Define the range to
be cut as described in HELP DM RANGE.
Default if omitted: cut from cursor to end of line
name
(optional) Specify paste buffer name. Text is written to
the named buffer. If text is copied to a buffer
that has previously been used, the new text
overwrites the old. You may have up to 100
buffers open per log in session.
Default if omitted: use unnamed buffer
OPTIONS
-F pathname Specify system file to receive cut text. Not
valid if 'name' argument is present.
-R Specify cut for a rectangular portion of text.
RELATED TOPICS
More information is available. Type:
- HELP XC
for details about copying text to a paste buffer without deleting
it from the pad.
- HELP XP
for details about pasting in buffered text.
- HELP DM COMMANDS
for a list of other pad editing commands.