Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2003 21:44:49 -0400
From:      parv <parv_fm@emailgroups.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: vi and wrap text
Message-ID:  <20031009014449.GA3094@moo.holy.cow>
In-Reply-To: <20031008235802.GA59370@alexis.mi.celestial.com>
References:  <20031008062245.7ea8c9b1.b_cassidy@bellsouth.net> <1665244909.20031008101914@mygirlfriday.info> <20031008170340.GA42240@alexis.mi.celestial.com> <20031008235513.GB568@moo.holy.cow> <20031008235802.GA59370@alexis.mi.celestial.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20031008235802.GA59370@alexis.mi.celestial.com>,
wrote Bill Campbell thusly...
>
> I also have a locally written version of fmt that will take
> a ``-q'' option to handle e- mail quoted text that removes the
> quotes, reformats, then puts a single level of quotes back on

I hear par(1) can out do both fmt(1) & vim's wrapping functions.
After installing it once, had not the time to pour over its
(massive) documentation.

So i personally have not used it, but i think it will/should fit
you.


> (nothing nearly as neat as Damian Conway's perl modules for
> formatting, but I've never gotten my head around them :-).

Quite a while ago, i had tried Text::Autoformat for a brief period,
right inside a procmail recipe (to wrap the e-mail message bodies of
those who do not), but it mangled the quoted text very badly of just
about every message.  (IIRC, in this context i became aware of par
by the way.)

Text::Autoformat does work quite good on regular text (non e-mail
like text).



  - Parv

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031009014449.GA3094>