#! /bin/bash
for i in `seq -f "%02g" $3 $4`; do
  echo 800$i
  mosquitto_pub -h $1 -t "$2" -m 800$i
done
