Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Piping to ack --count #80

Closed
petdance opened this issue Sep 14, 2009 · 1 comment
Closed

Bug: Piping to ack --count #80

petdance opened this issue Sep 14, 2009 · 1 comment

Comments

@petdance
Copy link
Collaborator

Reported by Michal on ack dev/users:

$ ack --count pattern file
file:2

but when I run

$ cat file | ack --count pattern
body body pattern body
body body pattern body

so --count doesn't work when data is piped into ack. Is it meant
behavior?

But grep works this way:

$ cat file | grep -c pattern
2

@petdance
Copy link
Collaborator Author

petdance commented Sep 5, 2010

Fixed by blixtor.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant