summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--passwort-tresor.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/passwort-tresor.in b/passwort-tresor.in
index f2bc20a..32a3282 100644
--- a/passwort-tresor.in
+++ b/passwort-tresor.in
@@ -207,12 +207,14 @@ then
do
count=$(grep -c "${suchStr}" "${tmpDir}/output")
[ "${count}" -eq 1 ] && break
+ >&2 printf '"%s": %s\n' "${suchStr}" "${count}"
done
[ "${count}" -eq 1 ] && break
done
if [ "${count}" -ne 1 ]
then
>&2 printf '"%s" ist nicht genau ein Mal vorhanden!\n' "${suche}"
+ read -s
beenden 1
fi
output="$(grep -2 "${suchStr}" "${tmpDir}/output" | tail -n2)"