Commodore PC Ms-Dos 3.2 User's Manual page 227

Table of Contents

Advertisement

Edlin Commands 1551
n
1:
Dear
Mr .
Dimm,
2:
^-.^
3:
I
was
sorry
to
hear
of
your
recent
(
i
4: hospitalization due to electrical
5:
shock
from
our
X-10 0 0
Automatic
6:
Pencil
Sharpener.
r^
7:
8:
As
a
result
of
your
accident,
we
9:
are
redesigning
our
manual
to
^^^
10:
warn
our
customers
against
trying
(i
11:
to
sharpen
metal
objects.
12:
13:*Si ncerely,
<
]
15:
I.R. Sharpe, President
^^
To append new lines to the end of the file, type l6i. This
Adding lines to the
f
r
produces the following:
end of a file
16:*_
n
Now type the following new lines:
>-v
16:
Sharpe
Office
Supplies
1
'
17: The World Leader in Office Sharpeware
18:
Our
motto:
"You
oughta
be
Sharpe
too"
fi
To get out of insert mode, press control-c on line 19. The new
Quitting insert mode
lines will appear at the end of all previous lines in the file. Now
list all the lines by typing 1,23L. The result is:
1 :
Dear
Mr.
Dimm,
2:
^^
3:
I
was
sorry
to
hear
of
your
recent
f
i
4:
hospitalization
due
to
electrical
5:
shock
from
our
X-10 0 0
Automatic
6:
Pencil
Sharpener.
r*\
7:
1
8:
As
a
result
of
your
accident,
we
9:
are
redesigning
our
manual
to
10:
warn
our
customers
against
trying
(~*\
11:
to sharpen metal objects.
1 2 :
13:
Sincerely,
r\
14:
(
}
15:
I.R.
Sharpe,
President
16:
Sharpe
Office
Supplies
17:
The
World
Leader
in
Office
Sharpeware
^•"N
18:
Our
motto:
"You
oughta
be
Sharpe
too"

Advertisement

Table of Contents
loading

Table of Contents