Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!krk From: krk@cs.purdue.EDU (Kevin Kuehl) Newsgroups: comp.unix.shell Subject: Re: sed to remove newlines? Message-ID: <14859@ector.cs.purdue.edu> Date: 31 May 91 17:08:46 GMT References: <6356@iron6.UUCP> <1991May31.163100.20328@cbnewsl.att.com> Sender: news@cs.purdue.EDU Distribution: comp.unix.shell Organization: Purdue Univserity Computer Science Department Lines: 13 In article <1991May31.163100.20328@cbnewsl.att.com> rbr@bonnie.ATT.COM (228-4197,ATTT) writes: Why not use "ed(1)" as: .... If you want to double space, use sed or awk. Both of these will do the trick: $ sed G < input > output $ awk '{ print $0 "\n" }' -- Kevin Kuehl krk@cs.purdue.edu