[Bro] Tab Character Variable

anthony kasza anthony.kasza at gmail.com
Tue Dec 17 13:43:22 PST 2013

Trying using the logging framework instead of printing directly to a file.
Grep for 'const separator' in base/frameworks/logging for changing the
default column separator.

On Dec 17, 2013 12:45 PM, "Michael Logoyda" <logoyda at gmail.com> wrote:

> I'm writing a script to read from a tsv file containing blacklisted IPs
> (Input::add_table, using reread mode) and then append new IPs to the end of
> the same file. I can read the file just fine, but any time I try to write
> out "\t" or "\x09", the output shows up as "^I". That goes for the system()
> function to write to the file as well as just using print within the
> script. Does anyone know how to send the tab character properly?
> Alternatively:
> A) I could change to csv, but I don't know how to change the input
> separator to allow for this.
> B) I am using a second column that's basically just filler in order to use
> add_table like the example on the blog. Is there a way to just import a
> one-column table?
> Thanks
> _______________________________________________
> 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/20131217/ef631cc1/attachment.html 

More information about the Bro mailing list