Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: compressed logfile grep

by joe++ (Friar)
on Nov 21, 2002 at 21:31 UTC ( [id://214933]=note: print w/replies, xml ) Need Help??


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. <->

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://214933]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-24 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found