mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
set & entry separator configuration (with the restriction that they have to be exactly one character long)
This commit is contained in:
parent
ab68d84007
commit
4fef1e3f8c
4 changed files with 78 additions and 5 deletions
19
scripts/base/frameworks/input/readers/ascii.bro
Normal file
19
scripts/base/frameworks/input/readers/ascii.bro
Normal file
|
@ -0,0 +1,19 @@
|
|||
##! Interface for the ascii input reader.
|
||||
|
||||
module InputAscii;
|
||||
|
||||
export {
|
||||
## Separator between fields.
|
||||
## Please note that the separator has to be exactly one character long
|
||||
const separator = "\t" &redef;
|
||||
|
||||
## Separator between set elements.
|
||||
## Please note that the separator has to be exactly one character long
|
||||
const set_separator = "," &redef;
|
||||
|
||||
## String to use for empty fields.
|
||||
const empty_field = "-" &redef;
|
||||
|
||||
## String to use for an unset &optional field.
|
||||
const unset_field = "-" &redef;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue