]> git.plutz.net Git - shellwiki/commitdiff
typo for verbose logging
authorPaul Hänsch <paul@plutz.net>
Sat, 23 Sep 2023 21:38:35 +0000 (23:38 +0200)
committerPaul Hänsch <paul@plutz.net>
Sat, 23 Sep 2023 21:38:35 +0000 (23:38 +0200)
searchindex.sh

index 5e80014bc434a709dffe82033df928c08859a733..6ddf24e45c317e2f44799d40932657a716be6d67 100755 (executable)
@@ -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}.$$"