function like printf,in Bro language

Ruoming Pang rpang at
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;


print fmt("%s", demux_dir);


More information about the Bro mailing list