2010-11-12 16:16:22 +01:00
|
|
|
#!/bin/bash
|
2010-11-15 12:44:10 +01:00
|
|
|
n=0
|
2010-11-12 16:16:22 +01:00
|
|
|
while [ 1 ]
|
|
|
|
do
|
2010-11-15 12:44:10 +01:00
|
|
|
while [ 1 ]
|
|
|
|
do
|
|
|
|
echo $1
|
|
|
|
cat display
|
|
|
|
#sleep 0.01
|
|
|
|
n=$((n+1))
|
|
|
|
printf "$n \r" >&2
|
|
|
|
done |
|
|
|
|
netcat -p500$1 -u 127.0.0.1 4321
|
|
|
|
sleep 2
|
2010-11-12 16:43:27 +01:00
|
|
|
done
|
2010-11-15 12:44:10 +01:00
|
|
|
|