Date: Wed, 27 Oct 2010 18:14:04 -0700 From: Nerius Landys <nlandys@gmail.com> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: okay, time to ask the wizards. Message-ID: <AANLkTim=F14ocYZ8GnSVAFbTJ6QrXaxSsOKorbHEFwwa@mail.gmail.com> In-Reply-To: <20101028010447.GA9734@thought.org> References: <20101028010447.GA9734@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
You mean replace each newline character with two newline characters? perl -p -i -e 's/\n/\n\n/g' yourfile.txt Something like that? On Wed, Oct 27, 2010 at 6:04 PM, Gary Kline <kline@thought.org> wrote: > I've got a very large file with paragraphs separated only by "\n". > How do I put a blank line _after_ each newline? > > > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service > Unix > The 7.90a release of Jottings: http://jottings.thought.org/index.php > http://journey.thought.org > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim=F14ocYZ8GnSVAFbTJ6QrXaxSsOKorbHEFwwa>