Tagged Questions
0
votes
1answer
17 views
ack doesn't recurse when specifying a file pattern
ack "#define"
will recurse into subdirs and find files that contain #define. But I wanted to limit the search to *.h files, so I tried
ack "#define" *.h
and it doesn't recurse anymore. The only ...
1
vote
2answers
76 views
Can I simulate ack by using grep with the right combination of options?
I have ack-grep installed on my local machine, and find it indispensable for quickly 'acking' through a codebase when debugging.
However, on my cheap shared hosting, there is no ack-grep. One of the ...
1
vote
1answer
100 views
Is there a command in Mac OS X that can perform multiline regex searching?
I want to do a simple regex search recursively through a directory that isn't restricted to single lines.
I tried grep and ack, but neither seem to support this.
I know it shouldn't be too ...
2
votes
3answers
1k views
How to use ack to search for file name
I have started using ack which is much faster than grep. However using ack I want to search for file name rather than file contents. Is there a way to do that?
3
votes
1answer
228 views
grin, ack and rak comparison
Having used ack for some time now, I find it much better for my development purposes than grep. But then I've heard about rak and grin. Has anyone used all three of them and can provide a comparison?
...
9
votes
6answers
631 views
Best grep-like tool
I do in file search a lot, and used to love grep. Then I learn the existence of egrep, so I switched to benefit from the advanced regexp. Then I discovered the Eclipse search tool. Much easier to use ...