progpib/pty-gpib-emulator/python/test.sh

15 lines
155 B
Bash
Raw Normal View History

2020-09-09 00:17:31 -05:00
#!/bin/bash
cat < $1 &
echo "++ver" > $1
echo "++addr" > $1
echo "++addr 12" > $1
echo "++addr" > $1
while true
do
read CMD
echo $CMD > $1
done