Clean up extra spaces and line breaks.
Add support for removing multiple spaces and line breaks. Try cleaning this: http://bit.ly/92aJmu
This is a very generally worded request. Can anyone come up with a slightly more specific description of the requested feature? How can linebreaks be “cleaned up” when the source text doesn’t obey a convention like format-flowed, for example?
This feature request may need to be broken up into multiple more specific points. Feedback is welcome and very much appreciated!
AdminBen Zanin (Admin, cleantext) commented
Hmm - that's potentially doable, but the general case of that kind of problem is quite difficult. fmt (c.f. http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/fmt.c and http://www.freebsd.org/cgi/man.cgi?query=fmt&apropos=0&sektion=1&manpath=FreeBSD+8.0-RELEASE&format=html ) and par (http://www.nicemice.net/par/) tackle this problem with a variety of heavily engineered solutions.
I don't want to dismiss this request out of hand, but the difficulty of implementing it properly means that it will probably end up lower down the list. Still, we'll keep it in mind.