mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
6 lines
263 B
Bash
Executable file
6 lines
263 B
Bash
Executable file
#! /usr/bin/env bash
|
|
#
|
|
# Replace anything which looks like timestamps with XXXs (including the #start/end markers in logs).
|
|
|
|
sed 's/[0-9]\{10\}\.[0-9]\{2,8\}/XXXXXXXXXX.XXXXXX/g' | \
|
|
sed 's/^#\(start\|end\).\(19\|20\)..-..-..-..-..-..$/#\1 XXXX-XX-XX-XX-XX-XX/g'
|