[SLL] left and right justified text

Bill Campbell bill at celestial.com
Sat May 10 16:07:44 PDT 2008


On Sat, May 10, 2008, Paul A. Franz, P.E. wrote:

>I can display text using more than one word processor formatted with a
>monospace font that is justified left and right but I haven't been able to
>save the resulting text formatted. I have tried configuring a text printer
>writing to file and the formatting is lost. I have tried saving to a file
>as text, same thing.

>I thought maybe vim could do it. Not so, it's a line editor mostly.

>Does anyone know of a utility other than lex that can do it?

>I want it for formatting the text for use man pages to look nice and for
>formatting comments in script files and programs.

IHMO, justfied plain text looks much worse then ragged right
margin for things like man pages etc.

As others have said, nroff can do justfied monospace.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

Never do your enemy a minor injury.
    - Machiavelli


More information about the linux-list mailing list