Tuesday, 28. May 2013Week 21
Sunday, 26. May 2013Week 20
Saturday, 25. May 2013Week 20

less with colors

For a long time it annoyed me everytime that less only showed ASCII codes instead of colors when piping some 'color-enabled' output into it.

Turns out there is an easy fix for that:

colordiff a/foo b/foo | less -R

Thanks to Major Hayden for this very useful tip!