ref: 88181e1c5c8d19e61c76b93620abcbc7c2e57481
dir: /sys/src/cmd/audio/scream/screamsend/
#!/bin/rc rfork e lifc=() while(~ $1 *.*.*.*){ lifc=($lifc $1) shift } if(! ~ $#* 0){ echo 'Usage: audio/screamsend [interfaceip]...' >[1=2] exit 'usage' } if(~ $#lifc 0) lifc=`{awk '/4u/{print $1}' /net/ipselftab} exec aux/dial -o^'addmulti '^$lifc udp!239.255.77.77!4010 rc -c 'audio/screamenc < /dev/audio'