in reply to compressed logfile grep

What about:
#!/bin/sh for F in `ls *zip` do zcat $F | grep "what I'm interested in" done
I mean, sometimes Perl isn't the right tool...
(Oh yeah, I assume Un*x here).

--
Cheers, Joe

Replies are listed 'Best First'.
Re: Re: compressed logfile grep
by ibanix (Hermit) on Nov 21, 2002 at 22:43 UTC
    Sadly, no Unix.

    If you read the code, you'd see I intended it for a ActivePerl/Win32 environment. :-)

    <-> In general, we find that those who disparage a given operating system, language, or philosophy have never had to use it in practice. <->