shellcheck nextcloud file cleaning script

This commit is contained in:
Joachim Desroches 2022-10-20 11:48:42 +02:00
parent eb81c1306c
commit 8fbc63d79b
Signed by untrusted user who does not match committer: jdesroches
GPG Key ID: 6778C9C29C02D691
1 changed files with 1 additions and 1 deletions

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