Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jdavidb (1361)

jdavidb
  (email not shown publicly)
http://voiceofjohn.blogspot.com/

J. David Blackstone has a Bachelor of Science in Computer Science and Engineering and nine years of experience at a wireless telecommunications company, where he learned Perl and never looked back. J. David has an advantage in that he works really hard, he has a passion for writing good software, and he knows many of the world's best Perl programmers.

Journal of jdavidb (1361)

Friday February 13, 2009
03:21 PM

ack gem of the day: git style paging in ack

[ #38473 ]

"git-style paging" is addictive. After having your interactive results automatically paged whenever needed, you start to get a little critical of your other tools, even old venerable tools that expected pagers to be applied separately by the user if necessary, and even high-quality newer tools like ack.

Turns out ack supports git-style paging. Just add this to your ~/.ackrc:

--pager
more  # or less, if you lean that way

Everybody but me probably already knew this.

Now, if somebody could just tell me how to make git on Windows automatically page like git on Linux does, that would be great, because that's what I was originally googling for...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.