John H. Robinson, IV wrote:
> 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?
> 
> :set tw=70
> 1GgqG
> 
> That should do it.

Those are vim commands, I forgot to specify. That wll reform the WHOLE
document, including headers and stuff.

> -john


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

Reply via email to