From 8fbc63d79b0b8081006c9de5d19d6d73794222e8 Mon Sep 17 00:00:00 2001 From: Joachim Desroches Date: Thu, 20 Oct 2022 11:48:42 +0200 Subject: [PATCH] shellcheck nextcloud file cleaning script --- find-encoding-barfed-files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find-encoding-barfed-files.sh b/find-encoding-barfed-files.sh index 3882925..13d4d54 100755 --- a/find-encoding-barfed-files.sh +++ b/find-encoding-barfed-files.sh @@ -18,7 +18,7 @@ while IFS= read -rd '' file <&3; do printf ' s - Skip\n' while true; do - read -p "? " -n1 ans + read -r -p "? " -n1 ans printf '\n' if [[ $ans = [0-9] && ${enc[ans]} ]]; then name=$(iconv -f "${enc[ans]}" <<< "$base")