mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Make diff-remove-abspath canonifier match on non-whitespace paths only
This avoids swallowing multiple separate paths separated by unrelated content into one substitution, like here: orig_p=59856<...>/tcp] -> orig_p=59856/tcp, resp_h=192.150.187.43, resp_p=80/tcp]
This commit is contained in:
parent
3ca804421e
commit
3984d99a86
1 changed files with 1 additions and 1 deletions
|
@ -9,4 +9,4 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$sed 's#/+#/#g' | \
|
$sed 's#/+#/#g' | \
|
||||||
sed 's#/\([^/]\{1,\}/\)\{1,\}\([^/]\{1,\}\)#<...>/\2#g'
|
$sed 's#/([^\t :/]{1,}/){1,}([^\t :/]{1,})#<...>/\2#g'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue