Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!demos1!deep-thought.Demos.SU!dima From: dima@deep-thought.Demos.SU (Dima Ruban) Newsgroups: comp.os.386bsd.questions Subject: Re: vi Date: 21 Jul 1994 04:56:02 GMT Organization: Demos Plus Co. Lines: 11 Message-ID: <30kv5g$23e@news.demos.su> References: <1994Jul12.140258.338@sun490.fdu.edu> <CsuBux.9zK@helios.physics.utoronto.ca> NNTP-Posting-Host: dima%@deep-thought.demos.su X-Newsreader: TIN [version 1.2 PL2] Jacques Legare (jacques@helios.physics.utoronto.ca) wrote: : Typing ^V in vi will allow you to type a control char `verbatim.' : That is vi will not interpret it and treat it like a normal character. : So, using your example, to replace all the ^L with spaces one would type. : :1,$ s/^V^L/ /g :%s/^V^L/ /g -- better :-) -- dima