Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!n8emr!uncle!oink!docwrk!srh From: srh@docwrk.UUCP (Steven R. Houser) Newsgroups: comp.unix.wizards Subject: global replacements with sed Message-ID: <49@docwrk.UUCP> Date: 10 Aug 89 19:14:10 GMT Reply-To: srh@docwrk.UUCP (Steven R. Houser) Distribution: usa Organization: The Document Workshop Lines: 18 I'm trying to use the sed editor to make global relacements, but I'm not having much luck. I tried RTFM, but it doesn't give an example of what the script file should look like. What I'm trying to do is replace occurrences of ^L with .bp macros. When I use the a script file containing: /^L/s//\.bp I get a message saying "sed: command line garbled". What am I doing wrong? What should the script look like? Steve -- Steven R. Houser The Document Workshop | "Man is the only animal who | laughs--or needs to." srh@docwrk.UUCP CompuServe 71401,373 | uunet!osu-cis!n8emr!uncle!oink!docwrk!srh | Mark Twain