Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
sender.sh: Allow for "ok" to be surrounded by DEBUG output.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjj authored and triffid committed Mar 4, 2011
1 parent 5c0dde4 commit 5bb337c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sender.sh
Expand Up @@ -19,6 +19,10 @@ stty $BAUD raw ignbrk -hup -echo ixon < $DEV
do
read -s -u 3
echo "< $REPLY"
case "$REPLY" in
*ok*) REPLY=OK ;;
*OK*) REPLY=OK ;;
esac
done
read -t 1; RV=$?
done
Expand Down

0 comments on commit 5bb337c

Please sign in to comment.