Eclipse RCP Schulung
15. - 19. März 2010
iPhone Schulung
26. - 29. April 2010
git Schulung
27. - 28. Mai 2010
19.07.2009

cat command with syntax highlighting

I just realized that pygmentize can be used to show text files on the text console with syntax highlighting. So my latest addition to the ever-growing .profile is:

alias pcat=pygmentize

function pless() {
    pcat "$1" | less -R
}
I'm looking forward to your comments:

Schulungen

Tools

Ralf Ebert | Blog | Tools | cat command with syntax highlighting