From 011a2e1a352566c7023829f42fd643e087ffbdc8 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 10 Mar 2024 22:37:13 -0700 Subject: [PATCH] fix shellcheck errors in 2020/burton/check_le.sh --- 2020/burton/check_le.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/2020/burton/check_le.sh b/2020/burton/check_le.sh index 91f0181b0..55024af8b 100755 --- a/2020/burton/check_le.sh +++ b/2020/burton/check_le.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash prog="$1" -: ${prog:=./prog_le} +: "${prog:=./prog_le}" check_prog() { - /bin/echo -n "$1 "; $prog $1 + /bin/echo -n "$1 "; $prog "$1" } -seq 0 255 | while read a; do +seq 0 255 | while read -r a; do check_prog "$a" done | pr -t -w120 -8