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 <[email protected]> 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 [email protected] http://www.thought.org Public Service > Unix > The 7.90a release of Jottings: http://jottings.thought.org/index.php > http://journey.thought.org > > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [email protected]" > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
