BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} I still have troubles to send a big status message using bb on win32
In <A10E03C9E3F97E4CB33471F96A6F6BEE016C36DA@EXC2K02CLU.mgen.fij> "FIGARO Nicolas" <nfigaro@effigie.fr> writes:
>I'd like to send a status using bb.exe on win32 with some extra infos,
>but it doesn't work.
>It looks like bb stops the message after the first end-of-line.
>I tried :
>bb ipaddr "status host.test color message
>Message line1
>Message line2
>Message line3
>"
I suspect Windows command-interpreter croaks on that one...
>type file.txt | bb ipaddr -
and the bb.exe doesnt work that way: It then sends each line
of input as a separate message.
I've had a similar problem, and created a slightly modified "bb"
utility for bbgen/Hobbit. You'll find a Windows binary at
http://www.hswn.dk/~henrik/bb.exe - it requires Cygwin. That
should allow you to do
bb ipaddr "@" <file.txt
and it will send a multi-line message combined into a single
message.
Regards,
Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index