Is there a method to colorize the output of cat, the way grep does.
cat
grep
For grep, in most consoles it displays a colored output hi
just use vim and this vimrc file.
oneliner:
vim -c '1' -c 'set cmdheight=1' -c 'set readonly' -c 'set nomodifiable' -c 'syntax enable' -c 'set guioptions=aiMr' -c 'nmap q :q!' -c 'nmap ' -c 'nmap ' -c 'nmap ^V ' "$@"
nano -v may also be an alternative.
nano -v