Code beautification and/or printing utilities that are not part
of an editor
David Kelly
dkelly at hiwaay.net
Fri Apr 20 04:29:30 UTC 2007
On Apr 19, 2007, at 4:10 PM, Andrew Falanga wrote:
> Another question for everyone. Are there any programs, hopefully
> available in the ports, that one can use to print source code files to
> a printer (or create as a postscript file)?
>
> I'd like something that I can feed a C++ program, have it parse
> through the code, print line numbers to the left of the page and
> (optionally) color code the syntax. Does anything like this exist?
a2ps was once a nice and simple ascii to PS converter then it bloated
into a source code pretty-printer. Has been at least 10 years since I
used it.
GNU indent is a very useful code reformatter.
--
David Kelly N4HHE, dkelly at HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.
More information about the freebsd-questions
mailing list