EasyManua.ls Logo

Commodore PC - Page 217

Commodore PC
414 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Edlin
Commands
145
Copy
(C)opy
f*^
Purpose:
Copies
a
range
of
lines
to
a
specified
line
number,
and
when
—^
used
with
the
count
option,
copies
this
range
as
many
times
'
as
you
want.
Syntax:
<*
[
line]\
line\line\
,count]c
Comments:
'
*
The
first
and
second
line
options
specify
the
range
of
lines
that
you
want
to
copy.
If
you
omit
the
first
or
second
line
option,
edlin
defaults
to
the
current
line.
The
third
line
option
specifies
r^\
the
line
before
which
edlin
will
place
the
copied
lines.
You
must
not
overlap
the
line
numbers
or
you
will
get
an
"Entry
error"
message.
For
example,
the
following
command
would
result
f]
in
an
error
message:
3,20,15c
o
If
you
do
not
specify
a
number
for
the
count
option,
edlin
copies
the
lines
one
time
and
automatically
renumbers
the
file
after
the
f^\
copy-
Examples:
>—v
As
an
example
of
how
to
use
the
C
(copy)
command
with
edlin,
Copying
text
type
the
following
lines:
1:
Sharpe
Office
Supplies
f0^,
2:
The
World
Leader
in
Office
Sharpeware
3:
I.R.
Sharpe,
President
4
:
s~.
5:
"You
oughta
be
Sharpe
too."
You
could
copy
this
entire
block
of
text
by
typing
the
following
^■^
command:
1,5,6c

Related product manuals