Turning the into an

Ari Kahan 0004068145 at mcimail.com
Sat Dec 8 02:48:02 AEST 1990


>joshi at motcid.UUCP (Abhay B. Joshi) writes:
>> I have a simple text-file containing the following text (3 lines):
>>
>>      The goal:
>>      All I am trying to do is replace the 'the's by 'an's.
>>      That's all.

ANNOUNCING:  (drum roll....)  THE *SLICK* WAY TO DO THIS IN VI!

:g/\<the\>/s//an/g

This will not turn theatre into anatre, or Xanthe into Xthean.

--Ari Kahan
(I can't afford a nifty signature-thingie).
 



More information about the Comp.unix.questions mailing list