[Bro] Escape sequences in BRO (\n)

Иван Раткин adh.2234 at gmail.com
Fri Aug 4 05:06:13 PDT 2017


Hi. I got a trouble with escape sequences in Bro.
When i write:
print "Next words must be in a new line \n New line"
or
print "\n"

\n will decoded in x0a or \n, but not decoded as a new.

So there is a question: how can i make a new line in strings? F.e. i read
several strings of data and need to from string like
"hi,
its a new line
and it is too!"

but only thing i have is "hi,\nits a new line\nand it is too!"


Thanks for answer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20170804/3596eee2/attachment.html 


More information about the Bro mailing list