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

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

Projects

None yet

3 participants

@gautambt

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.

Collaborator
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