Open sarnobat opened 7 years ago
I'd look at highlight, which is a versatile syntax highlighter for programming languages as opposed to this, which is built to highlight programs' output.
Thansk for the suggestion, I'll take a look.
These do the job nicely:
cat download_images_all.sh | highlight --out-format=ANSI
cat download_images_all.sh | highlight --syntax=c --out-format=ANSI
I couldn't find a conf file for shell scripts. If one doesn't exist, could we create one? I sometimes like to do this:
(I know grcat shouldn't be used directly but it is Unix idiomatic so very convenient to stick onto the end of whatever you were doing)