> From: Gary Kline <kl...@thought.org>
> To: FreeBSD Mailing List <freebsd-questions@freebsd.org>
> Cc: 
> Subject: okay, time to ask the wizards.
>
> I've got a very large file with paragraphs separated only by "\n".
> How do I put a blank line _after_ each newline?

have you tried something as simple as

   sed -e 's/\n/&&/' <infile >outfile
-or-
   awk  '{print; print "";}' infile
--
   

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to