summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/find-missing13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/find-missing b/share/find-missing
new file mode 100755
index 0000000..909c203
--- /dev/null
+++ b/share/find-missing
@@ -0,0 +1,13 @@
+#!/bin/zsh
+
+: > missing.txt
+
+./xml2json | fgrep missing | shuf | while read m eva x ; do
+ if [[ $x != *,* ]] && db-iris -x $eva &> /dev/null; then
+ echo "\n$m $eva $x"
+ echo $m $eva $x >> missing.txt
+ else
+ echo -n .
+ fi
+ sleep .2
+done