function like printf,in Bro language

Ruoming Pang rpang at icir.org
Thu Aug 8 15:55:27 PDT 2002


> >There is "fmt" which builds a string in a printf-like way (see the
> >"predefined functions" section in Bro's manual for details).
>
> I want to put it to the screen.  fmt can not do that . What should I do ?

Either of following two ways will do:

print demux_dir;

or

print fmt("%s", demux_dir);

Ruoming




More information about the Bro mailing list