EasyManua.ls Logo

Commodore PC - Page 225

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
153
Insert
(l)nsert
Purpose:
Inserts
text
immediately
before
the
specified
line.
Syntax:
f0**)
Comments:
If
you
are
creating
a
new
file,
you
must
type
the
I
(insert)
com
mand
before
you
can
insert
a
new
line
of
text.
Text
begins
on
line
r**)
1,
and
each
time
you
press
the
return
key
the
next
line
number
appears
automatically.
^^^
Edlin
remains
in
insert
mode
until
you
press
control-C.
When
\)
you
finish
the
insertion
and
exit
insert
mode,
the
line
immediately
following
the
inserted
lines
becomes
the
current
line.
Edlin
automatically
increments
the
line
numbers
that
follow
the
f~*)
inserted
section
by
the
number
of
lines
that
you
inserted.
If
you
do
not
specify
line,
the
default
is
the
current
line
number
and
edlin
inserts
the
lines
before
the
current
line.
If
line
is
a
(~*)
number
larger
than
the
last
line
number,
or
if
you
specify
a
pound
sign
(#)
as
line,
edlin
appends
the
inserted
lines
to
the
end
of
the
file.
In
this
case,
the
last
line
that
you
inserted
becomes
the
/""^
current
line.
Examples:
fs
Suppose
the
following
file
exists
and
is
ready
to
edit:
1:
Dear
Mr.
Dimm,
_
2:
f]
3:
I
was
sorry
to
hear
of
your
recent
4:
hospitalization
due
to
electrical
5:
shock
from
our
X-10
0 0
Automatic
n6:
Pencil
Sharpener.
7:
8:
Sincerely,
9:
^"^
10:
I.R.
Sharpe,
President
Since
this
letter
doesn't
really
offer
any
compensation
for
the
Inserting
text
in
a
file
/^
accident,
you
might
decide
to
add
a
brief
note
about
a
small
gift
J
that
you're
enclosing
for
Mr.
Dimm.
To
insert
text
before
line
8,
type
8i.
The
result
is:
C)
8:*_

Related product manuals