grc
grc copied to clipboard
conf.sh / conf.bash - for shell scripts
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:
cat run.sh | grcat ~/conf.sh
(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)
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