From 8d163157e6f359c355113945a454548f21bbb8d9 Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 19 Dec 2017 04:09:02 -0600 Subject: fixed a bug of not using -r in makelabel.sh --- makelabel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makelabel.sh b/makelabel.sh index 123f3a4..dbc984e 100755 --- a/makelabel.sh +++ b/makelabel.sh @@ -3,7 +3,7 @@ target="$1" xoffset=$2 yoffset=$3 zoffset=$4 -while read -N 1 c;do +while read -rN 1 c;do name="$(printf "%02x" "'$c")" if [ "$name" = "0a" ]; then xoffset=-6 -- cgit v1.2.3