mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Extending external canonifier to remove fractional values from
capture_loss.log.
This commit is contained in:
parent
d8801bb9c4
commit
efd343af8d
2 changed files with 14 additions and 1 deletions
6
testing/scripts/diff-remove-fractions
Executable file
6
testing/scripts/diff-remove-fractions
Executable file
|
@ -0,0 +1,6 @@
|
|||
#! /usr/bin/env bash
|
||||
#
|
||||
# Replace fractions of double value (i.e., 3.14 -> 3.x).
|
||||
|
||||
sed 's/\.[0-9]\{1,\}/.X/g'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue