summaryrefslogtreecommitdiff
path: root/share/find-missing
blob: 909c203ab1dfa2c5b4c885243aa0083a20ee64d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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