[freebsd-questions] Code beautification and/or printing utilities that are not part of an editor

Howard Jones howie at thingy.com
Thu Apr 19 22:17:57 UTC 2007


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?
>
> If it's something as simple as a string of chained command line aps,
> hey, that's fine.  Please someone point me in the correct direction.
>
vgrind(1) does this, and you already have it installed (it's in /usr/bin).

Best Regards,

Howie


More information about the freebsd-questions mailing list