Tandy 1000 MS-DOS Reference Manual page 226

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

Chapter 10 I EDLIN Command Reference
Copy
Lines
(C)
[linel][,line2],line3[, count]C
Copies all lines rangIng from line1 to line2, placing them imme-
diately ahead of line3. Using the count parameter, you can copy
the lines as many times as you want.
If you omit linel or line2, EDLIN copies the current line.
If
you
omit the count, EDLIN copies the line(s) only once.
Note:
If
you omit the linel parameter, your command
must include a comma immediately preceding the
line2 parameter.
The file is renumbered automatically after the copy, and the
first line copied becomes the current line. For example:
3 , 9 , 1 2 C
I
ENTER
I
copies Lines 3-9 to Line 12. Line 12 becomes the current line.
Note: Line numbers must not overlap.
If
they do,
EDLIN displays an error message. Also, you must not
use the plus and minus signs.
Examples:
Assume that the following file exists and is ready to be edited. If
you want to create the file, see the Insert command.
1: This sample file
2: shows what happens
3: when you use
4: the Copy command
5: to copy text in your file.
To copy this entire block of text, at the EDLIN prompt type:
1 , 5 , 6 C
I
ENTER
I
210
i
i
L...;
·
1
I
I
LJ
f
I
U
I ]
·
I
LJ
I
I
LJ
I
1
I
I
L -
·
i
I
I
U
!
I
L...J
I
!
,
I
~
!
i
u
,
I
U
I
i
LJ
I I
I

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents