[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: editing key



Morris wrote:
 Sorry Harry, your change replace command did not remove all the commas and
those letters in front of it;
Aha, looking more closely, I see that sometimes there's a carriage-return
following the last to-be-deleted letter. So you'd have to do a ci which
looks for either a comma or a carriage-return. That's easy to do, but then
there may be carriage-returns following characters you don't want to delete.
I can't tell from your email whether there's a tab in there, but if there
is, you could do (in Xy4 only):

ci ///
where is the tab character, is the wild string, and is the reverse-video arrow for the carriage return.

But more power to your XPL programs--they are fun and instructive to do.

Harry Binswanger
hb@xxxxxxxx