Pedro Fortuny Ayuso

Profesor Ayudante Doctor, Matemática Aplicada
Escuela Politécnica de Ingeniería de Gijón.
A Perl justification utility

Some time ago, a guy asked at the bboard of my server of choice whether someone knew of a utility to get justified text unjustified (or something similar). I was in the mood, and I was enjoying some perl hacking, so I decided to do a justification utility. Yes, there are probably thousands/millions. But it was fun.

After downloading the file, rename it to, for example. Run it as follows:

$ perl file

Or, if you chmod +x it, just

$ ./ file

file is expected to be a text file. Help is got with

$ perl -h

There are several command-line options. Some of them (not all) are:

You can download a Lorem Ipsum textto try it, if you lack one.