Gary Kline wrote: > PS: is there any one-liner to add back one newline between > paragraphs?
That depends a lot on how you define paragraph. If they all start with tabs, something like: sed '/^<^VTAB>/ i\ \<^VTAB> ' myfile Where you use ^VTAB to insert some literals tabs on the commandline. I couldn't seem to convince sed to insert an empty line, but I didn't play around with it all that long. If you need more sophisticated paragraph detection (like based on the previous line not being some number of characters or some kind of period to capital letter thing or something), you're going to spend a lot more time mucking through it. -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley
pgpUdCgaJ96xC.pgp
Description: PGP signature