Merge remote-tracking branch 'origin/topic/awelzel/spicy-diff-remove-timestamps-fix'

* origin/topic/awelzel/spicy-diff-remove-timestamps-fix:
  spicy/diff-remove-timestamp: Fix missing -e
This commit is contained in:
Arne Welzel 2024-01-31 14:27:46 +01:00
commit 072fe660bc
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
6.2.0-dev.490 | 2024-01-31 14:27:46 +0100
* spicy/diff-remove-timestamp: Fix missing -e (Arne Welzel, Corelight)
This got lost when converting to sed -E.
6.2.0-dev.487 | 2024-01-30 21:47:06 +0100 6.2.0-dev.487 | 2024-01-30 21:47:06 +0100
* quic: Log client's source connection id, too. (Arne Welzel, Corelight) * quic: Log client's source connection id, too. (Arne Welzel, Corelight)

View file

@ -1 +1 @@
6.2.0-dev.487 6.2.0-dev.490

View file

@ -2,4 +2,4 @@
# #
# Replace anything which looks like timestamps with XXXs (including the #start/end markers in logs). # Replace anything which looks like timestamps with XXXs (including the #start/end markers in logs).
sed -E 's/(^|[^0-9])([0-9]{9,10}\.[0-9]{1,8})/\1XXXXXXXXXX.XXXXXX/g' -e 's/^ *#(open|close).(19|20)..-..-..-..-..-../#\1 XXXX-XX-XX-XX-XX-XX/g' sed -E -e 's/(^|[^0-9])([0-9]{9,10}\.[0-9]{1,8})/\1XXXXXXXXXX.XXXXXX/g' -e 's/^ *#(open|close).(19|20)..-..-..-..-..-../#\1 XXXX-XX-XX-XX-XX-XX/g'