Command line options -l and -1 don't work together #229

Closed
spaceships opened this Issue Jul 12, 2012 · 2 comments

Projects

None yet

3 participants

@spaceships

Expected only the first file with a match (from -1), got all.

< bcarmer@trouble ~ > ack -l1 'hello' ~/perl5
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/Porting/checkAUTHORS.pl
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perlinterp.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perlfilter.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perl5005delta.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perldtrace.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perlfunc.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perlport.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perldiag.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perltoc.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perltrap.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perltie.pod
....etc

@petdance
Owner

I don't know if we'll fix this in ack 1, but it's also a bug in ack 2.x so I am copying the bug over there.

petdance/ack2#133

@hoelzro
Collaborator
hoelzro commented Aug 28, 2013

Closed, as the ack2 issue is closed.

@hoelzro hoelzro closed this Aug 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment