#!/bin/bash # # c'est juste du code d'exemple # R_IP="10.20.31.170" R_PORT="1111" DEVICE=42 oscpath=$(printf "/loth/truc/%d" $DEVICE) oscsend $R_IP $R_PORT $oscpath s "===========" for foo in $(seq 20 7 80) do echo " " $foo message=$(printf " 0x%02x" $foo) oscsend $R_IP $R_PORT $oscpath s "$message" sleep 1 done