Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://137321]
[Discipulus]: echo 'a'\'' gives me the prompt and then go with error on ctrl-d
[Discipulus]: uch! worst than windows!
[marto]: It's not worse, just different. Different shells, different tools. Different ways
[choroba]: Perl to the rescue!
[choroba]: yes, it's documented in man bash. You need to echo 'Joe'\''s home'

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2017-11-24 10:23 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (346 votes). Check out past polls.