zeek/auxil/zeekctl/testing/Scripts/diff-remove-timestamps-unix
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

7 lines
169 B
Bash
Executable File

#! /usr/bin/env bash
#
# Replace timestamps in UNIX format (number of seconds, with fractional part)
# with XXXs.
sed 's/[0-9]\{10\}\.[0-9]\{2,8\}/XXXXXXXXXX.XXXXXX/g'