beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 140 forks source link

--line doesn't work in filter mode #668

Closed petdance closed 5 years ago

petdance commented 6 years ago
$ cat foo.txt | ack --line=92
ack: No regular expression found.

But it works if you use a filename:

ack --line=92 foo.txt
n1vux commented 6 years ago

Additional failure mode, quite hilarious

ack --lines=7
7:+++ exited with 0 +++
7:+++ exited with 0 +++
7:exit(0)                                 = ?
... repeating...
petdance commented 5 years ago

--line has been removed from ack 3. There will be no more releases of ack 2.