My useful tip of the day..
October 3rd, 2006
I'm always finding better ways to do things, some things which I've done for years. I became fond of the 'less' pager long ago because I can easily navigate back and forth in the paged file using my navigation keys and nifty features like launching vim with the file are nice too.
Rails colorizes it's logs by default, which I rather like. But if you just look at them with 'less' straight up, you see a bunch of line noise from all the uninterpreted ansi codes. You'll get much happier results by tickling 'less' with an -R argument. I think I'm just going to alias 'less' to always do that in fact.







