mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
raw input reader for seth, which can simply read a file into string-events given a line separator.
This commit is contained in:
parent
531189b5fd
commit
7e5f733826
11 changed files with 363 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
@load ./main
|
||||
@load ./readers/ascii
|
||||
@load ./readers/raw
|
||||
|
||||
|
|
9
scripts/base/frameworks/input/readers/raw.bro
Normal file
9
scripts/base/frameworks/input/readers/raw.bro
Normal file
|
@ -0,0 +1,9 @@
|
|||
##! Interface for the raw input reader.
|
||||
|
||||
module InputRaw;
|
||||
|
||||
export {
|
||||
## Separator between input records.
|
||||
## Please note that the separator has to be exactly one character long
|
||||
const record_separator = "\n" &redef;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue