linux less preserve colors

less -r

  

grep pattern file.txt --color=always | less -r

  

posted @ 2014-07-02 15:43  Daniel King  阅读(279)  评论(0编辑  收藏  举报