ignoring directory basenames.
This fixes issue 88. GNUmakefile, *.mk and *.mak files are now considered as Makefiles. Extended the t/filetypes.t test for this.
Piping into ack --count did a simple search (like --count was never given). This is now fixed. The output is correct, but still a bit odd, see issue 74. $ cat ack | ack --count foo -:9 Also reorganized the Changes file
This fixes issue 74. When given a single file on the command line, ack no longer outputs '<filename>:<count>' but simply '<count>'. Furthermore, when --count is used together with -h (--no-filename), then a single number is output, the total count over all files. grep outputs here a list of numbers instead, which seems not very helpful. WARNING: This checkin had to change the interface of App::Ack::print_count() and App::Ack::print_count0(), both take an additional parameter (whether to show the filename or not). So things like App::Wack need to adapt to this change. The module test t/module.t was adjusted to cover these changes.
Piping into ack --count did a simple search (like --count was never given). This is now fixed. The output is correct, but still a bit odd, see issue 74. $ cat ack | ack --count foo -:9
This fixes issue 81. Leading and trailing whitespace in .ackrc lead to strange error messages. Added t/ackrc.t test.
No matter how many matches where found, ack always returned 0.
This fixes issue 76. The same problem existed when combining --match and -f or -g. The testcases got extended as well.