Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site uicsl Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!uicsl!sarwate From: sarwate@uicsl.UUCP Newsgroups: net.unix Subject: Re: Putting in newlines using sed Message-ID: <15200012@uicsl> Date: Mon, 18-Nov-85 14:56:00 EST Article-I.D.: uicsl.15200012 Posted: Mon Nov 18 14:56:00 1985 Date-Received: Wed, 20-Nov-85 00:41:11 EST References: <376@bcsaic.UUCP> Lines: 8 Nf-ID: #R:bcsaic.UUCP:376:uicsl:15200012:000:176 Nf-From: uicsl.UUCP!sarwate Nov 18 13:56:00 1985 Using the sed command s/ foo/\ foo/g seems to work on the 4.2BSD version of sed. Note that the newline character as given by the RETURN key follows the \ on the first line.