[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote on Mon, 06 Mar 2000:
> A solution is to save such messages, open it with vim, and use the
> command "gq", which can properly reformat the paragraphs, wrapping long
> lines only at the ends of words. But it's a long work, and it's
> desirable to find a non-interactive program, a sort of "pr with
> enhancements", which can be used in pipes.
> 
> Is somebody knowing that ?

The basic unix solution is "fmt", which just wraps long lines.

If you need something fancier, go for "par", which is (much) more
complex but does a better job with quoting and such.


Regards,
Mikko
-- 
// Mikko H�nninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"The trouble with political jokes is that they get elected."

Reply via email to