From 83953c520ab427775d60da989f02dd25fe204e51 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 10 Mar 2024 22:38:21 -0700 Subject: [PATCH] fix shellcheck errors for 2020/burton/check_be.sh --- 2020/burton/check_be.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/2020/burton/check_be.sh b/2020/burton/check_be.sh index 3b4aae049..e0f62d982 100755 --- a/2020/burton/check_be.sh +++ b/2020/burton/check_be.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash prog="$1" -: ${prog:=./prog_be} +: "${prog:=./prog_be}" check_code() { - /bin/echo -n "$1 "; $prog $1 | rev + /bin/echo -n "$1 "; $prog "$1" | rev } -seq 0 255 | while read a; do +seq 0 255 | while read -r a; do check_code "$a" done | pr -t -w120 -8