From 12fa6da13bb5c96df8326be6849aed484ff90959 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 23 Sep 2023 23:38:35 +0200 Subject: [PATCH] typo for verbose logging --- searchindex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}.$$" -- 2.39.2