mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
spicy/diff-remove-timestamp: Fix missing -e
This got lost when converting to sed -E.
This commit is contained in:
parent
42d05d2e09
commit
3f7d225cee
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue