[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] bb will not run from a shell script (script problem??)
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] bb will not run from a shell script (script problem??)
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Wed, 5 Sep 2007 22:30:49 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=7g4BIMOknDYeIt7iFpoGfFQc8/IvGoyPB9daJF23AC4=; b=lxA8QSdSGOUTpa32qk72ZszB4purFa2PM0XiyYbQwEshn5zp9AEKZ4cgTS8JZgLR1AdkThvdMGjfJkcE5wLJqUT6jydhwCMdHzv5LKO1HrIX426to+vEjDLORY1woMBg/LGAdfezkw0Aj+GlvjOyJpMO+N3cP3uJ2Iri7VtsLTk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gBdAykLeJEg7SsFr+5fg5WbsHT+BYBZfxXLtCiiN1+78Gv1vNktzDSTPaTsMjqPZ2rBFxMc3PjtZWvHS1GsB0ljzTYpSKNZcQ0Ke7hP7eS/VaFtb6iFC7hxapLXPIwbEpMRrE84HKn0ezEtH2wMhuP0/Rdiz+F9wfRKtgKmgGTM=
- References: <29f517690709050643j7e7a1fden299061b755c0f834 (at) mail.gmail.com> <20070905151152.GA22073 (at) hswn.dk> <29f517690709050845u39887165p894beec3aeca431d (at) mail.gmail.com> <29f517690709051015y5ed276f0n988e80dda7651404 (at) mail.gmail.com> <20070905204726.GB26899 (at) hswn.dk> <8C44343D-A3DD-4197-9E7B-D148BBAAAFC9 (at) declan.com> <49FD6850-4772-4941-A2A8-F77BB90D40BD (at) declan.com>
On 9/5/07, Frank Flynn <frank (at) declan.com> 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