bb will not run from a shell script (script problem??)
On 9/5/07, Frank Flynn <user-32aefea160e6@xymon.invalid> wrote:
OK well I found a work around, If I break it into two in the script and pass the data to bb through stdin this will work ---- MYCMD="$BB $BBDISP -" echo "status $MACHINE.Bd@ $STATUS `date` local web check" | $MYCMD ---- This works for me - but is there a better way?
Why not something like this:
MESSAGE="status $MACHINE.Bd@ $STATUS `date` local web check"
$BB $BBDISP "$MESSAGE"
Ralph Mitchell