[SLL] left and right justified text [fully justified]
Phil Mocek
pmocek-sll at mocek.org
Sat May 10 16:26:24 EDT 2008
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
More information about the linux-list
mailing list