Putting in newlines using sed

sarwate at uicsl.UUCP sarwate at uicsl.UUCP
Tue Nov 19 05:56:00 AEST 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.



More information about the Comp.unix mailing list