1

I recently stumbled upon sift ("A fast and powerful alternative to grep."). I quite like its feature-set, but there's one thing I'm missing: paged output (with colors).

I mean, it can be done:

$ sift 'search_string' --color | less --RAW-CONTROL-CHARS

The --color I can put into .sift.conf, but the | less -R I have to repeat for every invocation.

With ack, I can stick this into the .ackrc and forget about it (Using ack, how do you display one page at a time? / http://beyondgrep.com/documentation/).

How do I do this with sift?

Community
  • 1
  • 1
Grilse
  • 3,491
  • 2
  • 28
  • 35

0 Answers0