Here at $WORK I maintain a legacy system that does its reports with
essentially troff. We use an enhanced version called Eroff but the
commands are the same except for the ones that Eroff adds but the normal
ifs, else and brackets are the same. This is not a macro issue it is an
issue with sections and logic.
The documents were created years ago and each year they have just been
edited. My issues normally are with someone deleting a .\} or a \{\ or
add an errant one of these. Things work fine until the perfect storm and
bingo pages print on top of each other.
My way of fixing these is to print out the source of the document and
tape the pages together. (Sadly all of our dot matrix printers have gone
to the graveyard) Then with highlighter and pen go through the document
and find the problem.
I was wondering if there is anyone on the list that had dealt with
troff documents and came across a profiler or some other script or code
highlighter that you could run the document through that would tell you
certain things are missing or out of whack. I had a C profiler at one
point that would actually go through your code and give you a printout
that shows the nest and loops.
If there is one for groff this will do as I can take my documents off
my system and run them through groff and they essentially will print
(albeit a few macros that need to be exchanged).
My only reference tool has been Unix Text Processing by Dougherty and
O'Reilly but that is a bear when you are troubleshooting.
Any help would be greatly appreciated.
TIA
John J. Boris Sr.
JEN-A-SyS Administrator Archdiocese of Philadelphia
Chairman Professional IT Community Conference (PICC'12)
www.picconf.org
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
http://lopsa.org/