Syntax highlighting in less

Yes, it’s certainly possible and source code becomes so much easier to read. Try it out by:

  1. downloading my .lessfilter
  2. save it as ~/.lessfilter in your $HOME
  3. Profit!

Ahem …

Just try it out on a C source file :-)

less -R myfile.c

Top Ten UNIX Shell Commands

Current trend is to run the following one-liner from IBM. I’m usually logged in to the following three systems, with very different results. vmlinux.org $ history |awk '{print $2}'|sort|uniq -c|sort -nr|head -10 144 ls 61 cd 58 sudo 29 less 23 emacs 19 bzr 16 vim 11 rm 10 wget 10 mv My personal life. Not much different from my professional dito. Most visible difference maybe is my use of bzr instead of svn. [Read More]