Is there a variant of
cat that outputs syntax-highlighted lines of code when used on a source file?
An idea: maybe
vi[m] or another editor can be asked to dump the syntax-highlighted contents of said files to
stdout and exit immediately?
Passing the file through
The Source-highlight package is shipped with the esc.outlang output language definition, which highlights with ANSI escape sequences.
A handy wrapper