Shell command question

Dean Yamamura dyamamura at yahoo.com
Thu Sep 7 19:03:07 PDT 2000


The brutish way to do it would be to pipe it through
another grep which matches patterns not containing
"real.com". The more elegant way is to use the "-E"
switch and use regular expressions. Show me an example
or two and I can give you the regexp.

--- steve at iwsys.com wrote:
> I use the following command to have a scrolling
> screen of all denied 
> requests to my squid web cache:
> 
> tail -f /var/log/squid/access.log | grep DENIED
> 
> How would I do the same and have a small list of
> lines to exclude in the 
> results.  I want all denied requests except those to
> real.com and the ad 
> servers I block.
> 
> I know there are a million ways to do what I want,
> but I'd prefer a one liner.
> 
> Thanks,
> 
> Steve
> 
> 
> ---
> You are currently subscribed to luau as:
> dyamamura at yahoo.com
> To unsubscribe send a blank email to
$subst('Email.Unsub')


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



More information about the LUAU mailing list