BIT-1941: teach diff-remove-timestamps about time 0

This commit is contained in:
Jon Siwek 2018-07-03 09:16:37 -05:00
parent c9ebe725f6
commit 85e46f37ca
3 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,8 @@
2.5-722 | 2018-07-03 09:16:37 -0500
* BIT-1941: teach diff-remove-timestamps about time 0 (Corelight)
2.5-721 | 2018-07-02 16:29:21 -0500
* BIT-1941: improve reliability of broker.disconnect unit test (Corelight)

View file

@ -1 +1 @@
2.5-721
2.5-722

View file

@ -9,6 +9,5 @@ else
sed="sed -E"
fi
# The first sed uses a "basic" regexp, the 2nd a "modern:.
sed 's/[0-9]\{10\}\.[0-9]\{2,8\}/XXXXXXXXXX.XXXXXX/g' | \
$sed 's/(0\.000000)|([0-9]{10}\.[0-9]{2,8})/XXXXXXXXXX.XXXXXX/g' | \
$sed 's/^ *#(open|close).(19|20)..-..-..-..-..-..$/#\1 XXXX-XX-XX-XX-XX-XX/g'