To
edit
the
rest
of
the
file, you must save some
of
the
edited
lines
on
a disk
to
free memory. Edlin will
then
be
able
to
load
the
remaining unedited lines from
the
disk into memory. Refer
to
the
W
(write)
and A
(append)
commands in Chapter
7,
"Edlin Com-
mands," for instructions
on
editing large files.
How to Quit Edlin
When
you finish your editing session, you can save
your
original
file and
the
updated
(new)
file
by
using
the
E
(end)
command,
discussed in Chapter
7,
"Edlin Commands." Edlin renames
your
original file
with
the
extension
.bak,
and saves
the
updated
file
with
the
filename and extension you gave
when
you started
edlin.
Warning
You cannot update a file with an extension
of
.bak
because
when
you try to save
your
file, edlin will always save
the
original file as .
bak,
thereby losing your changes.
If
you
need
to
edit
such
a file, rename it
with
another
extension
(using
the
MS·DOS
reo
command discussed in Chapter
3,
"MS-DOS Com-
mands"), and start
edlin
by
using
the
new
filename.
The
Une Editor (Edlin)
1271
Saving a fite