MQTT shell script client, for bash, dash, BusyBox ash and others. Gives you MQTT on anything Unix like, from embedded routers to AIX servers with almost no dependenices.
$2 doesn't get set which causes an unkown operand error and then:
./bish-bosh: ./lib/shellfire/core/init.functions: line 1: 2: parameter not set when calling dd in
root cause is bishbosh_filesize_ls() returning empty.
bishbosh_filesize_ls()
{
# dateBitsAndFileName are not portable
# permissions may have a '@' on the end if it is Mac OS X ls
local permissions links uid gid size dateBitsAndFileName
IFS=' ' read -r <<-EOF
$(ls -L -l -n "$1")
EOF
}
workaround: use stat--filesize-algorithm GNUAndBusyBoxStat (or don't use dd )
$2 doesn't get set which causes an unkown operand error and then:
./bish-bosh: ./lib/shellfire/core/init.functions: line 1: 2: parameter not set
when calling dd inroot cause is bishbosh_filesize_ls() returning empty.
workaround: use stat
--filesize-algorithm GNUAndBusyBoxStat
(or don't use dd )