On 26 December 2007, Hannah Schroeter <[EMAIL PROTECTED]> wrote:
> Hi!
>
> On Wed, Dec 26, 2007 at 09:28:33AM +0200, Liviu Daia wrote:
> >On 25 December 2007, Girish Venkatachalam
> ><[EMAIL PROTECTED]> wrote:
> >[...]
> >> I just checked out the 'wl=72' stuff in vi. Works exactly like 'tw'
> >> in vim. I then did an fmt in the end. The result looks much better
> >> of course. But there is a problem. The quoting gets goofed up. One
> >> has to do it with little more care I guess.
> >[...]
> 
> >    Or use Par instead of fmt; textproc/par in ports.
> 
> $ cat bin/wrap_quote
> #! /bin/sh
> sed 's/^>//' |
>     fmt |
>     sed 's/^/>/'

    ... except Par can also handle multilevel quotes, like above. :)
Take a look at it, you'll be impressed.

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia                                  http://www.imar.ro/~daia

Reply via email to