🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #9189

Re: Looking for vi

#9189
From: RAMontante
Date: Wed, 24 Jan 1990 03:23
18 lines
1021 bytes
I sez:
-commands.  I often want to do things like ":7,38g/emacs/s//vi/g" but all

brown@vidiot.UUCP (Vidiot) <63@vidiot.UUCP> :
-Correct syntax is:   :7,38s/emacs/vi/g
-
-Try that and see if it works any better.


Well whattaya know...  it works in stevie, and in the Ultrix vi!  I've
always used the syntax I showed above, on VAXen, and that worked so I
never tried alternatives.

(My form is defensible:  it's documented to say "search lines 7 thru 38
for the string /emacs/, and replace that string on all matching lines
with the string /vi/ as often as it appears within each line".)

Thanx, Vid!
Technical Details
Message-ID: <33785@iuvax.cs.indiana.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!bobmon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!bobmon
From: bobmon@iuvax.cs.indiana.edu (RAMontante)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Looking for vi
Message-ID: <33785@iuvax.cs.indiana.edu>
Date: 24 Jan 90 03:23:29 GMT
Reply-To: bobmon@iuvax.cs.indiana.edu (RAMontante)
Organization: malkaryotic
Lines: 18