[SLL] left and right justified text [fully justified]
al goldstein
gold at gas.zipcon.net
Sun May 11 12:02:02 PDT 2008
Thanks for the info. It worked Ok for me provided I filtered first
with fmt. Par is available as a package, at least on Ubuntu dapper
and gutsy.
On Sat, 10 May 2008, Phil Mocek wrote:
> On Sat, May 10, 2008 at 12:53:30PM -0700, Paul A. Franz, P.E. wrote:
>> Does anyone know of a utility other than lex that can [format
>> plain text fully justified]?
>
> Par, the paragraph reformatter, does that well.
>
> Its configuration syntax is somewhat difficult to learn. Its man
> page states:
>
> For those who wish to use it immediately and understand it
> later, assign the PARINIT environment variable the following
> value:
> rTbgqR B=.,?_A_a Q=_s>|
>
> You'll want to add a 'j' in there. I don't know if the position
> matters, but if you set PARINIT="rTbgjqR B=.,?_A_a Q=_s>|" then
> pipe some text through par, it will come out fully-justified to a
> 72-character line width.
>
>
> See:
>
> * <http://www.nicemice.net/par/>
> * <http://jmcpherson.org/par.html>
> * <http://packages.debian.org/stable/par>
>
> --
> Phil Mocek
>
gold at gas.zipcon.net
More information about the linux-list
mailing list