Return code does not work when piping data through ack #112

gautambt opened this Issue Feb 15, 2010 · 3 comments


None yet

3 participants


The return value is always zero (even if there are no matches). The man page says the return value is 1 when there are no matches.

For example echo Foo|ack Bar does not return 1

That fixes it, thanks.

hoelzro commented Aug 28, 2013

This is fixed as of ack2.

@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