Antwort: Re: [hobbit] New Hobbit "admin" Scripts
stefan.freisler at aspect-online.de
stefan.freisler at aspect-online.de
Thu Dec 21 15:41:36 CET 2006
Hi,
firstly thx for your help.
are you shure your hobbit-server.cfg can be read because the Informations
of the command are stored there (normaly).
so you can use this function if grep not works
this_getQuery()
{
RETURN=`echo "$1" | $SED -n "s/^.*$2=\([^&]*\).*\$/\1/p" | $SED
"s/%0D//g"| $SED "s/%0A/\n/g" | $CUT -f 2 -d "=" | $SED "s/%3D/=/g"`
}
what i can do when sed not works too,... hmm i don't know yet but i will
find an solution
stay patient ;-)
mfg
Stefan
Michael Nemeth <michael.nemeth at lmco.com>
21.12.2006 15:20
Bitte antworten an
hobbit at hswn.dk
An
hobbit <hobbit at hswn.dk>
Kopie
Thema
Re: [hobbit] New Hobbit "admin" Scripts
And $GREP -oE will not work. I bet the sed fails too!
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| _p_ Mike Nemeth
| ___| |_____ email(w) michael.nemeth at lmco.com Work: 856 359-1425
|><___________) | Home Page:
http://www.geocities.com/mjnemeth/
| Work Page:http://scorpion/~nemethm/
| Work Page:http://ortfsb/~mnemeth/
|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061221/130e2fb5/attachment.html>
More information about the Xymon
mailing list