So, how about:`(?<!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.
perl -ne 'print if /(?<!time)\(/' < ippl.log > ippl.noteworthy
-Blake
In reply to Re: One-liner parses ippl log for suspicious packets
by blakem
in thread (code) One-liner parses ippl log for suspicious packets
by ybiC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |