Chapter 9 / Editing Files
Example
5:
Delete
to
Char
(Cill)
Using
the
Delete to Char function,
Un
delete a number of char-
acters up
to-but
not
including-the
specified character.
1. At
the
EDLIN prompt, type 1 I
ENTER
,.
The screen looks like
this:
1
:*This
is
a
sample
file
1:*_
2.
Type
Cill
a.
The cursor remains
in
the
same position even
though
the
characters before
the
first a have been deleted.
To
see this, press
the
Copy All key,
ffiJ.
The screen looks
like this: .
1
:*This
is
a
sample
file
1
:*a
sample
file_
3. Type I
CTRL
III]
to
void
any changes and continue to
the
next
example.
Example
6:
Void Line
([@)
In
this
example, first make a change to Line 1 and then, using
the
Void
Line function,
[ESC
I,
cancel
that
change. This leaves
the
template unchanged and lets you continue
making
changes to
the
same line.
I !
1 !
'---1
I l
, ,
, !
, :
, '
i !
'----'
I '
LJ
I '
I !
, ,
, I
---1
1. At
the
EDLIN prompt, type 1
[ENTER
I.
The screen looks like
this:
I :
I •
L-J
1
:*This
is
a
sample
file
1:*_
2.
Type:
Names
and
addresseslESCj
The screen looks like this:
1
:*This
is
a
sample
flle
1:
*Names
and
addresses\
When you press
[@,
a backslash
(\)
appears
right
after
any change you may have made and
the
cursor appears
again
on
another line.
200
I I
LJ
i i
~