Closed epa closed 4 years ago
What does grep
do in such a case?
grep
prints both lines. I think this is something to do with --color
. If you give --no-color
then the result is as expected.
We redid how colorzing works in ack 3. This works in ack 3. There will be no more releases of ack 2.
If a file contains carriage returns but you are running on a Unix-like system, then
ack --context
can print its results in such a way that some lines become invisible.Observe that when
--context
is given, only the first match is visible on screen.