]> git.plutz.net Git - shellwiki/blobdiff - searchindex.sh
typo for verbose logging
[shellwiki] / 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}.$$"