shellcheck nextcloud file cleaning script

This commit is contained in:
Joachim Desroches 2022-10-20 11:48:42 +02:00
parent eb81c1306c
commit 8fbc63d79b
No known key found for this signature in database
GPG key ID: 6778C9C29C02D691

View file

@ -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")