L
[~
[~
c
sequences. You
don't
really type
the
entire
word,
CONTROL;
instead,
you
simply
press
the
CONTROL key followed
by
the
control
character, Z
or
C
or
v.
5 m 0
nth
1 y
bud
9 e t CONTROL·Z - 5 , + 5 L
If
edlin
can find any lines that
contain
the
words
monthly
budget, then the displayed lines
are
the
five lines before and
the
five lines after
the
current
line. Note
that
the
current
line
(the
line
with
the
asterisk) must
be
before
the
line
or
lines
that
contain
the
search
string .
• You
can
insert a
control
character,
such
as CONTROL·C,
into
text
by
using
the
quote
character, CONTROL·V, before it
while
in insert mode. CONTROL·V tells MS·DOS
to
recognize
the
next
capital
letter
typed
as a
control
character. You
can
also
put
a
control
character in an S
(search)
or
R
(replace)
command
by
using
the
quote
character. For example,
the
following
command
finds
the
first
occurrence
of
CONTROL·Z in a file:
SCONTROL·V Z
The
next
example replaces all
occurrences
of
CONTROL·Z
in
a
file
with
pencil.
rcoNTRoL.VZCONTROL.Z
penc
i 1
And this
next
command
replaces all
occurrences
of
CONTROL·C
with
pen.
5 CONTROL·VCCONTROL·Z
pen
It is also possible
to
insert CONTROL·V
into
the
text
by typing
CONTROL·VV.
•
The
CONTROL·Z
character
ordinarily tells
edlin,
"This is
the
end
of
the
file."
If
you have CONTROL·Z characters elsewhere
in
your
file,
you
must tell
edlin
that
these
other
control
characters
do
not
mean end-of-file. To tell
edlin
to
ignore
the
CONTROL-Z
characters in
the
file
and
to
show
you
the
entire
file,
use
the
/b
switch. For example,
when
you start
edlin
and
want
to
ignore all CONTROL-Z characters in a file,
you
could
use
the
/b
option
with
the
edlin
command
and
your
filename.
Edlin Commands
1411