openlava/openlava — pull request #37 by FSchumacher (2012-07-21 12:52:56+00:00)
Title: Correct formatting of man pages.

Some control-codes where not starting on their own line, but were prepended with a font code.
That was corrected with the following shell/perl snippet:

find l* -name "*.[1-9]" \
| while read i
do perl -ne '
if (/^(\\[a-z]{2,3})(\.[a-z]{2,3}(?: .*|$))/i) {
chomp $last;
print "$last$1\n";
$last="$2\n"
} else {
print $last;
$last=$_
};
END { print $last }' $i > $i.sav
mv $i.sav $i
done