vi format command

Art Parmet artp at motbos.UUCP
Fri Sep 15 22:36:21 AEST 1989


In article <964 at alpha.lanl.gov>, sct at alpha.lanl.gov (Stephen Tenbrink) writes:
> Is there a technique for reformatting a paragraph when using vi?  Sometimes
....

There  is  a  public  domain program called "fill" which will do exactly
what you want.  By compiling it with the "justify" option as the default
and naming it with a one letter command (like "f"),  you  can  format  a
paragraph  from  the current cursor position to the end of the paragraph
by:      !}f

The source is yours on reauest.

Regards,
Art
-------------------------------- 

<< Unusual Disclaimer >>

Art Parmet - Northeast Area Eng Mgr @ Motorola Semiconductor, Woburn, Ma.
UUCP: {hplabs!motsj1,decwrl!decvax,gatech!mcdchg,apollo,oakhill}..!motbos!artp

Voice: +1 617-932-9700  Fax: +1 617-932-9100 



More information about the Comp.unix.questions mailing list