New Hobbit "admin" Scripts
list Stefan Freisler
Thu, 21 Dec 2006 15:26:33 +0100
Message-Id: <user-ee1357c68f24@xymon.invalid>
Hi,
hmm we have nearly the same Linux running but yours seems to have an other version of "head". I think i have an other solution to handle this Problem
change
query=$( $HEAD --bytes="$CONTENT_LENGTH" )
in
read -n $CONTENT_LENGTH query
on my styem both version running good but eventually is the 2. version more compatible.
thx
Stefan
Michael Nemeth <user-609d3fab5b2d@xymon.invalid> 21.12.2006 14:27
Bitte antworten an
user-ae9b8668bcde@xymon.invalid
An
hobbit <user-ae9b8668bcde@xymon.invalid>
Kopie
Thema
Re: [hobbit] New Hobbit "admin" Scripts
usage: head [-n #] [-#] [filename...]
query=$( $HEAD --bytes="$CONTENT_LENGTH" )
--bytes is NOT a standard head looks like gnu.
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| _p_ Mike Nemeth
| ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:
http://www.geocities.com/mjnemeth/
| Work Page:http://scorpion/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++