Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On the other hand, if you want colors displayed you can force grep/ack to display the color 'always' and then pipe the output into 'less -R'. The -R (or --RAW-CONTROL-CHARS) flag has less display output such that color escape sequences work as you might expect, coloring the output displayed by less.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: