--pager option does not work when piping data through ack #113

gautambt opened this Issue Feb 15, 2010 · 2 comments


None yet

3 participants


The --pager option and the ACK_PAGER option do not work when piping data through ack. In the following cases the output is not piped through less:

$echo Foo|ack Foo --pager="less -r"
$export ACK_PAGER="less -r"
$echo Foo|ack Foo


What I'd like to know is why I have to set ACK_PAGER, while man and other programs just use PAGER.

Can't ack just use PAGER if ACK_PAGER is not set?

hoelzro commented Aug 28, 2013

Migrated to ack2 queue.

@hoelzro hoelzro closed this Aug 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment