Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: One-liner parses ippl log for suspicious packets

by blakem (Monsignor)
on Jan 09, 2002 at 04:20 UTC ( #137321=note: print w/ replies, xml ) Need Help??


in reply to (code) One-liner parses ippl log for suspicious packets

From perlre:

`(?<!pattern)' A zero-width negative look-behind assertion. For example `/(?<!bar)foo/' matches any occurrence of "foo" that does not follow "bar". Works only for fixed-width look-behind.
So, how about:
perl -ne 'print if /(?<!time)\(/' < ippl.log > ippl.noteworthy

-Blake


Comment on Re: One-liner parses ippl log for suspicious packets
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2015-07-30 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls