View Single Post
Old 02-09-2009, 10:24 PM   #1
elewton
Member
elewton began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Mar 2008
Device: Hanlin V3
80-column text reflow - Hanlin V3

Hey, guys.
I'm a cheap ass and only buy a few eBooks. Thankfully, all the Linux man pages and Howtos, as well as many computer documents, are available free in ASCII. Unfortunately, they're all in 80-column text.

Does anyone have a simple script for changing the wrapping? I was thinking maybe sed could replace double newlines with special character x, then remove single newlines and replace x with newlines.

I figure smart people have solved similar problems with all the subsequent problems. If anyone knows something like that, I'd appreciate being pointed in the right direction.

Thanks,
Eric
elewton is offline   Reply With Quote