in vim:

gqG

-Deke

On Wed, 11 Jul 2007, Lan Barnes wrote:

> I have a text doc with paragraphs in one line. What is the easiest way in
> vim or sed/awk or perl to reformat this doc so the long lines break at
> words at, say, 70 char or so?
> 
> -- 
> Lan Barnes
> 
> SCM Analyst              Linux Guy
> Tcl/Tk Enthusiast        Biodiesel Brewer
> 
> 
> -- 
> [email protected]
> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
> 


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to