From e7e4a61cf4e4609a735e5edf6ef8e5059152d63a Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 12 Mar 2021 09:29:49 -0500 Subject: [PATCH] bin/tame: read {=>-r} where missing While these should not be necessary in practice, there's no reason _not_ to do this. --- bin/tame | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tame b/bin/tame index 376005b2..44c54ce6 100755 --- a/bin/tame +++ b/bin/tame @@ -101,11 +101,11 @@ command-runner() } # output lines from runner until we reach a line stating "DONE" - while read line; do + while read -r line; do # don't parse words in the initial read because we may be # dealing with a lot of lines if [ "${line:0:5}" == "DONE " ]; then - read _ code _ <<< "$line" + read -r _ code _ <<< "$line" mark-available "$base" return "$code"