syntax_highlight | lpr
Does anyone know of a simple way to produce the PostScript corresponding to a syntax-highlighted version of a source file that can be piped directly to a PostScript printer?
Does anyone know of a simple way to produce the PostScript corresponding to a syntax-highlighted version of a source file that can be piped directly to a PostScript printer?
Is there a variant of cat that outputs syntax-highlighted lines of code when used on a source file?
I can do the following to see if some word is available in the output of “cat”: cat filename | grep word This filters the output and shows only those lines which contain “word”. Now, is it possible to only highlight the “word” in the output, without dropping other lines? Answers: Thank you for visiting … Read more
When you run cal on Linux, the output for the current month will reverse video highlight the current day. When I send that output to hexdump -c, I get some interesting results: