Multiple print in the same line

Hugo <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <CAKq214=SacGu_HyigMzcby-GKSukrYRkMC3Y4Grv16W8tc76mw@mail.gmail.com>
Hi,

I am wondering whether there is a way to call multiple prints such that
they print in the same line. By default, in Zeek, each print will print in
different lines.

For example, if I want to print all elements of a vector v1 in the same
line in a log file "log_name" with "print log_name, v1", all elements are
printed in the same line. But the character "[" and "]" at the beginning
and end of the line can be annoying if the log is used by other software
such as gnuplot. However, if I iterate each element in v1 and print it one
by one, I will not print all elements in the same line. Wonder whether we
have a workaround on this issue or not.

Thank you and best regards,

Hui Lin

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.