Chapter
10
/
EDLIN
Command Reference
Edit
Line
(line)
~
[line]
Lets you load
the
specified line
for
editing.
EDLIN displays
the
specified line and -
on
the
next line -
the
line's number (without text) to indicate
the
line is ready
for
editing.
You
can then use
the
editing keys, control keys; and
the
EDLIN commands.
Notes
•
If
you omit
the
line
(you
only press I
ENTER
I),
EDLIN loads
the
line
that
immediately
follows
the
current line.
•
If
you don't need to change
the
line, and
the
cursor is
at
the
beginning or end of the line, press I
ENTER
I to accept
the
line
as
is.
•
If
you press I
ENTER
I while
the
cursor is in
the
middle of a line,
EDLIN erases
the
rest
of
the
line.
• Finally,
if
you wish to cancel any changes made to a line,
press
I
ESC
,.
Example
Assume
the
following file exists and you wish to edit Line
4:
1:
This
is
a
sample
file.
2:
used
to
show
3:
the
editing
of
line
4:*four.
Type 4 I
ENTER
I
at
the
EDLIN prompt. The screen looks like this:
4:
*four
4:
216
: ,
, ,
~