beyondgrep/ack1

"Use of uninitialized" warning in ack 1.92

coke opened this issue · 2 comments

coke commented

Doctor, it hurts when I do this:

$ ack S32 unrun| ack -v "-io"
Use of uninitialized value $str in lc at /home/coke/bin/ack line 1578.
Use of uninitialized value $str in string eq at /home/coke/bin/ack line 1578.
Use of uninitialized value $str in concatenation (.) or string at /home/coke/bin/ack line 1580.
$ ack --version
ack 1.92
Running under Perl 5.14.2 at /home/coke/perl5/perlbrew/perls/perl-5.14.2/bin/perl

Copyright 2005-2009 Andy Lester.

This program is free software; you can redistribute it and/or modify
it under the terms of either: the GNU General Public License as
published by the Free Software Foundation; or the Artistic License.
coke commented

adding the needed -- before the "-io" avoids the warning.

Wontfix. ack 2.0 is the current version.