On Wed, July 11, 2007 12:19 pm, John H. Robinson, IV wrote:
> 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.
>

You go vim!

-- 
Lan Barnes

SCM Analyst              Linux Guy
Tcl/Tk Enthusiast        Biodiesel Brewer


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

Reply via email to