From: Paul Hänsch Date: Sat, 23 Sep 2023 21:38:35 +0000 (+0200) Subject: typo for verbose logging X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=12fa6da13bb5c96df8326be6849aed484ff90959;p=shellwiki typo for verbose logging --- diff --git a/searchindex.sh b/searchindex.sh index 5e80014..6ddf24e 100755 --- a/searchindex.sh +++ b/searchindex.sh @@ -111,7 +111,7 @@ prune() { printf '%i %s %f %i %i\n' \ "$date" "$location" "$freq" "$num" "$total" elif [ "$verb" ]; then - printf "%${v}s\rRemoving \"%s\" from \"%s\"\n" "" "$location" "$word" >&2 + printf "\rRemoving \"%s\" from \"%s\"\n" "$location" "${word##*/}" >&2 fi done <"${word}.$$" >>"${word}" rm -- "${word}.$$"