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

Closed
gautambt opened this Issue Feb 15, 2010 · 2 comments

Projects

None yet

3 participants

@gautambt

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

@CharString

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
Collaborator
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