function like printf,in Bro language

Robin Sommer robin at
Tue Aug 6 20:45:30 PDT 2002

On Wed, Aug 07, 2002 at 11:31 +0800, Wang Shaofu wrote:

>         printf("%s",demux_dir);
> Is there a function doing what does "printf" do ,in Bro language?

There is "fmt" which builds a string in a printf-like way (see the
"predefined functions" section in Bro's manual for details).

But for the case above, you don't need it actually:

    print demux_dir;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20020807/455f2501/attachment.bin 

More information about the Bro mailing list