mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
10 lines
207 B
Awk
Executable file
10 lines
207 B
Awk
Executable file
#! /usr/bin/awk -f
|
|
#
|
|
# A diff canonifier that removes the priorities in notice_policy.log.
|
|
|
|
/^#/ && $2 == "notice_policy" { filter = 1; }
|
|
|
|
filter == 1 && /^[^#]/ { sub("^[0-9]*", "X"); }
|
|
|
|
{ print; }
|
|
|