home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.misc
- Path: sparky!uunet!mcsun!ub4b!news.cs.kuleuven.ac.be!blekul11!frmop11!univ-lille1.fr!univ-lyon1.fr!scsing.switch.ch!
- news.univie.ac.at!paladin.american.edu!howland.reston.ans.net!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jrpg8255
- From: jrpg8255@uxa.cso.uiuc.edu (Jeremy Payne )
- Subject: Re: embarrassing question about vi
- References: <26JAN199311442031@pvhep.pvamu.edu>
- Message-ID: <C1H3Bz.EEE@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Tue, 26 Jan 1993 17:59:58 GMT
- Lines: 22
-
- devine@pvhep.pvamu.edu (WILLIAM CHARLES DEVINE, II) writes:
-
- >Hi!
-
- > How can i have vi or sed go thorugh a file and replace every
- >semicolon with a exclamation point?
- >I can't seem to get it to work.
-
-
- Try:
-
- :%s/;/?/g
-
-
-
- ---------------------------
- Jeremy Payne
- UIUC Neuroscience program /
- College of Medicine
- jrpayne@uiuc.edu
- (217)244-4478
- ---------------------------
-