summaryrefslogtreecommitdiff
path: root/Inventur
diff options
context:
space:
mode:
Diffstat (limited to 'Inventur')
-rwxr-xr-xInventur7
1 files changed, 7 insertions, 0 deletions
diff --git a/Inventur b/Inventur
index c2b4b8d..794efa1 100755
--- a/Inventur
+++ b/Inventur
@@ -30,6 +30,13 @@ frag_ab() {
| grep -F "${Antwort}"
return
fi
+ if printf '%s\n' "$@" \
+ | grep -cxF "${Antwort}" \
+ | grep -qxF '1'; then
+ printf '%s\n' "$@" \
+ | grep -xF "${Antwort}"
+ return
+ fi
printf '\n' >&2
done
}