[Bro] Escape sequences in BRO (\n)

anthony kasza anthony.kasza at gmail.com
Fri Aug 4 06:48:39 PDT 2017

Have you tried using the fmt function in conjunction with the print


On Aug 4, 2017 6:09 AM, "Иван Раткин" <adh.2234 at gmail.com> wrote:

> 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
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20170804/c8c64439/attachment.html 

More information about the Bro mailing list