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

`ack -g` not showing any results #278

Closed mcandre closed 11 years ago

mcandre commented 11 years ago

When I try to use ack's -g flag to search for files, it's not finding my DLL.

$ find /c/strawberry/perl/bin/ -name libstdc++-6.dll
/c/strawberry/perl/bin/libstdc++-6.dll

$ ack -g libstdc++-6.dll /c/strawberry/perl/bin/
$

System:

$ specs find ack os
Specs:

specs 0.4
https://github.com/mcandre/specs#readme

find --version
GNU find version 4.1

ack --version
ack 2.04
Running under Perl 5.16.2 at C:\strawberry\perl\bin\perl.exe

Copyright 2005-2013 Andy Lester.

This program is free software.  You may modify or distribute it
under the terms of the Artistic License v2.0.

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows XP Professional
OS Version:                5.1.2600 Service Pack 3 Build 2600
petdance commented 11 years ago

No, it won't find a DLL because a DLL is not a text file that ack would search. ack -f and ack -g only show files that ack would search.

Please don't use ack as a general purpose substitute for find.