mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
17 lines
308 B
Text
17 lines
308 B
Text
#
|
|
# @TEST-EXEC: bro %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
event bro_init()
|
|
{
|
|
local a = " this is a test ";
|
|
local b = "";
|
|
local c = " ";
|
|
|
|
print fmt("*%s*", a);
|
|
print fmt("*%s*", strip(a));
|
|
print fmt("*%s*", b);
|
|
print fmt("*%s*", strip(b));
|
|
print fmt("*%s*", c);
|
|
print fmt("*%s*", strip(c));
|
|
}
|