> Here's hoping one of you can make me look dumb and point out that ack
> already has this capability.
I'm working on the plugins for it on the trunk. I have not made it
work yet. It's the recursive searching through tarballs that is
hanging me up, meshing that with the internal architectural changes
ack will need to have.
xoa
--
Andy Lester => an...@petdance.com => www.petdance.com => AIM:petdance
Nope, for two reasons.
First, ack has to run on Windows.
Second, and more importantly, a .gz is just a special case of a user-
defined pluggable file format. I want to be able to search PDFs,
Excel spreadsheets, whatever.
hmm I wonder... because zgrep doesn't take "-r", which is fundamental
to the difference between ack and grep. zgrep munges the arglist, and
runs a separate invocation of grep for each compressed file. It also
uses sed to place the filename at the front when needed, with
something like s/^/file.gz:/.
No -- if ack did this you'd have to roll it in, I think